Answers for "linux find and delete files with name"

7

remove all files inside directory linux

# remove everything in a directory 
rm /path/to/dir/*
# remove all sub-directories and files
rm -r /path/to/dir/*
Posted by: Guest on July-10-2020
0

linux find and delete files with name

$ find -type f -name '*install*' -delete
Posted by: Guest on January-04-2021
2

how to remove file from directory in linux

rm /home/harry/ascii.txt
Posted by: Guest on December-28-2020

Code answers related to "linux find and delete files with name"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language