Answers for "linux remove file in directory"

2

remove a file or dir in linux or mac or ubuntu

note:your_file_name can be a dir or a file 

sudo rm -r your_file_name
Posted by: Guest on May-11-2020
0

linux delete files in folders without deleting the folder

find /path/to/directory -type f -exec rm -iv {} ;
Posted by: Guest on September-23-2020

Code answers related to "linux remove file in directory"

Python Answers by Framework

Browse Popular Code Answers by Language