Удалить все файлы в Linux
Deletes all files in current directory, including hidden
rm -rf {,.[!.],..?}*
Easy Elephant
Deletes all files in current directory, including hidden
rm -rf {,.[!.],..?}*
To remove all non-hidden files and sub-directories (along with all of their contents) in a
directory use:
rm -r /path/to/directory/*
rm -rf .trash/*
//trash folder name
$ find . -type f -name filename\* -exec rm {} \;