Command to delete files but not directories (folders)

find . -type f -exec rm {} \; -print

Keyword: Unix, Linux, ubuntu


QR Code
QR Code tech:linux:delete_files_but_not_directories (generated for current page)