a lil simple bash script that will create an individual gzip tar of each sub-dir in the dir that it executed in. each tar has the name of the dir that it has compressed.
Code:
find . -type d -mindepth 1 -maxdepth 1 -exec tar zcf {}.tar.gz {} \;
__________________
I happen to like the words "fuck", "cock", "pussy", "tits", "cunt", "twat", "shit" and even "bitch". As long as I am not using them to describe you, don't go telling me whether or not I can/should use them...that is, if you want me to continue refraining from using them to describe you. ~Prince
|