tar – Remove leading directory components on extraction

Why not use -C option when creating:

$ tar cf /var/www/site.tar -C /var/www_bak/ site

Leave a Comment