tar question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to tar up a directory (/home/tempuser) that contains a bunch
of subdirectories.  One of the subdirectories (/home/tempuser/work), I
would like to omit from being tar'd.  I'm using the command:

tar cvf backup.tar --exclude="/home/tempuser/work" 

However  that directory is still being tar'd up.  I suspect I'm not
using the parameter correctly.  If there a way I can exclude that
directory plus any subdirectories or files underneathe it?

Ryan

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux