Remove files recursively:
find . -type f -iname '*.jpeg' -delete find . -type f -iname '*.jpeg' -exec rm {} \; find . -type f -iname '*.jpeg' -exec rm {} + shopt -s globstar && rm -- **/*.o Backup clonning using Hard Links rsync -avm --ignore-existing --link-dest=. $SOURCE/ $DESTINATION/ Remove empty directories find . -type d -depth -exec rmdir {} \;
0 Comments
|