Compress dirs and files recursively but exclude self

Submitted by Anonymous (not verified) on Sun, 12/27/2009 - 13:46

tar -zcvf /home/everything_whole_server.tar.gz /home --exclude="/home/everything_whole_server.tar.gz"

You can remove -v to turn output off.

Add new comment