Answers for "remove files from directory recursively"

0

bash delete all files of type recursively

# print all files recursively with exstension .bak
find . -name "*.bak" -type f

# add -delete command at the end to delete them
find . -name "*.bak" -type f -delete
Posted by: Guest on November-18-2020
6

remove directory and contents linux

rm -r path
Posted by: Guest on June-27-2020

Code answers related to "remove files from directory recursively"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language