View Single Post
  #4 (permalink)  
Old 06-15-2008, 08:50 AM
jellybean stonerfish
Tablet PC Guest
 
Posts: n/a
Re: tar --remove-files

On Sun, 15 Jun 2008 14:54:11 +0200, Philipp Ghirardini wrote:


> I have the following tar command:
>
> tar --remove-files -C /net_tests/tests/dir_one -czf
> /net_tests/tests/dir_one/myzip.tar.gz . --exclude=file3
> --exclude=myzip.tar.gz


> I think the problem is that the command is packing the '.' and so it is
> trying to remove it what fails of course. I also creates a subdirectory
> '.' in the archive. Actually it doesn't matter because when unpacking
> the archive that has no effect.
>
> Philipp


Can you use a * to get all the files rather than a . to get the dir?

stonerfish

Reply With Quote

 
Old 06-15-2008, 08:50 AM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.