I am having trouble deleting backup directories of my evolution files in my daily backups script. I wish to delete the old backup so that I get a clean copy of the files. Some directories within the path are hidden, and some not.
for example I can have a path like
'/media/backups/daily_backups/evolution_Wed/local/share/evolution/mail/local/.eBay Archives.2014.2014 10 23 SSD/cur/1234567890123.gandalf:2,RS'
I have tried the obvious rm -rf and several variations on the find including things like find /path/to/dest/ -iname ".*" -type d
I have even tried a mv to a tmp directory.
However they all fail, I think because of the mixture of hidden and not hidden directories.
If I use caja then it works as expected, so I know it can be done, I just don't know how!
TIA
- - , .
برچسب:
نویسنده: استخدام کار