Okay, I've got it copying files...
But using the same method, is there a way to compress the files on the fly?
I need it to append each file to a tar archive, which is simple, but when I
introduce the compression, it doesn't work.
find . | tee output
while read file ; do
??? compress tar command ???
done < output
How would I do this?
just doing:
tar -rf "$file" $TMP/backup/stuff.tar
works great. But if I use a gz or bz2 file it just errors. Is this even
possible?
I can get it to work with .zip, but I'd prefer bz2.
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss