Sven Joachim wrote: > On 2011-06-02 04:13 +0200, lrhorer wrote: > >> I have a cron script that runs tar on a directory in order to clean >> it >> up and minimize its size. I run the command: >> >> tar cf Backup_Server.tar.gz --remove-files * >> >> but during the tar process I get the errors: >> >> tar: /RAID/System/Backup/bin: Cannot rmdir: Directory not empty >> tar: Exiting with failure status due to previous errors >> >> When I look in /RAID/System/Backup/bin, all that is left are a number >> of >> symlinks. Evidently, tar is unable to delete the symlinks prior to >> attempting the directory delete. If it makes a difference, these >> symlinks actually point to nothing. In any case, how can I get tar >> to delete the links and complete the job? > > This is a known bugĀ¹ in tar 1.23. Upgrading to the wheezy version > helps, if that is an option for you.
Oh, how cute. That's OK, I worked around the issue. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/loadnxo7tmtbp3xqnz2dnuvz5t0aa...@giganews.com