I want to remove a bunge of tar.gz files.
remove a list of files in linux
but I don't know how to do it.
find . -name tar.gz > temp.file
But then?
remove a list of files in linux
Re: remove a list of files in linux
Try this
You might want to copy them first before deleting them.
Code: Select all
find . -name tar.gz -exec rm -f {} \;