Tuesday, March 3, 2020

Ubuntu delete files in subfolders recursively preserving folders

Go to the relevant folder location and execute the below command

find . -name "*.jpg" -type f -delete



Happy coding!

No comments:

Post a Comment