Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create Finder-equivalent zip archives from the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create Finder-equivalent zip archives from the Terminal
Authored by: ncianca on Jan 15, '04 05:34:23PM

You can also add an alias to your .cshrc file that will append a timestamp to the zip archive like this:

alias zipme 'ditto -c -k -keepParent -rsrc \!* \!*_`date +"%Y%m%d%S"`.zip'

zipme foldername

will produce a zip file called something like this:

foldername_2004011547.zip

which is handy if you use it to create quick backups of work folders.



[ Reply to This | # ]