dropped canonicalizers for specific unix kits for windows.
[feisty_meow.git] / scripts / files / zip_directories.sh
1 #!/bin/bash
2
3 # goes through the current directory (currently) and zips up any directories
4 # into an archive with the same name as the directory plus a time stamp.
5
6 source $FEISTY_MEOW_SCRIPTS/core/functions.sh
7
8 #hmmm: take a dir to go to for this.
9 dir=.
10
11 for i in $(find $dir -mindepth 1 -maxdepth 1 -type d) ; do zip -rm "${i}_$(date_stringer)" "$i"; done