[plug] Using the "-X" modifier in tar

Colin Rothnie colinr at tiwest.com.au
Fri Mar 31 08:30:17 WST 2000


> When I run it, it does not exclude those files/directories.

A common "gotcha" when using the -X parameter in tar is the inclusion or
lack of the initial / in the listed filename.  
for example:
running  " tar cX exclude_list.txt * " from the root directory requires the
filelist to not have a "/" at the start of the filename.

Cheers
Colin Rothnie




More information about the plug mailing list