View Single Post
Old Jul 6th, 2005, 11:51 AM   #3
skuinders
Hobbyist Programmer
 
skuinders's Avatar
 
Join Date: Jun 2005
Location: MA, US
Posts: 204
Rep Power: 4 skuinders is on a distinguished road
Quote:
Originally Posted by mackenga
I suggest:
tar -c music | gzip -9 > backup.tgz
this is simpler
gzip:
tar czvf backup.tgz music/
bzip:
tar cjvf backup.tgz music/
for the disk size discrimination you can use du and have a script that makes subdirectories up to some size and then do the tar on those directories
__________________
"A stupid man's report of what a clever man says can never be accurate, because he unconciously translates what he hears into something he can understand."
- B. Russell

http://web.bryant.edu/~srk2
skuinders is offline   Reply With Quote