ZipDirs/README.md

23 lines
845 B
Markdown
Raw Permalink Normal View History

2014-07-05 20:45:55 -07:00
ZipDirs
=======
2014-07-05 21:34:11 -07:00
zipDirs.sh - A bash script to zip archive the directories within a directory.
2014-07-05 20:49:04 -07:00
This script is designed to zip archive all the directories within a
given directory (or the current one if unspecified) and output the
.zips to another directory (or the current one). Since this uses the
'zip' program, it will also update the zips if they already exist.
An example use case (what I needed it for in the first place) is to
2014-07-05 21:34:11 -07:00
zip up all the individual artists in a 'music' folder.
2014-07-05 20:49:04 -07:00
2014-07-05 21:34:11 -07:00
For example:
`$ ./zipDirs.sh ~/Music ~/Music-zipped`
2014-07-05 20:49:04 -07:00
The output of that command will be all the dirs within ~/Music are
2014-07-05 21:34:11 -07:00
zipped and placed into ~/Music-zipped
2014-07-05 20:49:04 -07:00
(e.g. ~/Music/Something -> ~/Music-zipped/Something.zip)
2014-07-05 21:34:11 -07:00
Created by Sean Hickey (Wisellama), 2014
Released to the Public Domain under the terms of the [Unlicense](http://unlicense.org/)