« Install Awstats 6.5 Without Ports | Main | Unix FAQ »
August 27, 2005
Exclude a Sub-directory in Tar Command
To backup the directory /home/ to file /backups/home.tgz, and exclude /home/apachelog/ :
# cd /home
# tar czvf /backups/home.tgz --exclude apachelog/ *
Category : Command & Utility
Posted by FreeBSD Newbie at August 27, 2005 01:14 AM
