[plug] Using the "-X" modifier in tar
Phillip Steege
psteege at tpg.com.au
Fri Mar 31 09:07:33 WST 2000
I am still a bit confused?
My last useage was "tar cvf /dev/rmt0 -X exclude_files.txt ." It did not
work.
Is that incorrect ??
Regards,
Phil Steege
> -----Original Message-----
> From: Colin Rothnie [mailto:colinr at tiwest.com.au]
> Sent: Friday, 31 March 2000 08:30
> To: 'plug at plug.linux.org.au'
> Subject: RE: [plug] Using the "-X" modifier in tar
>
>
> > 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