↧
Answer by Meaulnes for deleting directory with large amount of files with...
according to linuxnote.net's webarchive is rsync -aP –delete empty/ ./dir the fastest way to delete large directories, about three times faster as with rm -rfv ./dir or with find b/ -type f...
View ArticleAnswer by MisterSeajay for deleting directory with large amount of files with...
The --delete switch deletes files from the destination that do not exist in the source. If you want to delete crmlogs, you need to be copying from a source that does not contain that directory. Your...
View Articledeleting directory with large amount of files with rsync -a delete
I have a directory called crmlogs, how do I use rsync -a --delete to delete it?mkdir emptydirrsync -a --delete ./emptydir ./crmlogs
View Article