If U want to delete a files name stored in a path
Example ex is a folder which contain one.txt two.txt three.txt
If U want to delete this in one command
use find . -type f -exec rm {} \;
here . means search current directory
f is for plain file type (more info man pages)
for exec rm is the command
it should be terminated by \;
No comments:
Post a Comment