tar exclude directories
Dear all,
Am using the below command to exclude a directory from tar, but still I notice that the excluded directory is getting archived. [code] tar -cvf TABS_6.11.2.2_3-11-2008_prod_oct13.tar /ccbs/appl/orasoa/1013/j2ee/OC4J_CRM/applications/rmsp/TABS_6.11.2.2_3-11-2008 --exclude "/ccbs/appl/orasoa/1013/j2ee/OC4J_CRM/applications/rmsp/TABS_6.11.2.2_3-11-2008/crm/pdf" [code] Any idea ? Kai |
Hi,
I'm always using the -X option and a file containing the directories I want to exclude Code:
tar cjvfX backup.tar.bz2 exclude-files.txt /home/username |
All times are GMT -5. The time now is 12:15 PM. |