Skip to main content
added 5 characters in body; edited tags
Source Link
nohillside
  • 104.5k
  • 42
  • 222
  • 275

I can use command list below to delete files or folders, but would it be deleted directly, not in the trash? Is there parameter which is for delete file directly? Thanks. find / -name .DS_Store -exec rm {} + find . -name .DS_Store -type f -delete

find / -name .DS_Store -exec rm {} + 
find . -name .DS_Store -type f -delete

I can use command list below to delete files or folders, but would it be deleted directly, not in the trash? Is there parameter which is for delete file directly? Thanks. find / -name .DS_Store -exec rm {} + find . -name .DS_Store -type f -delete

I can use command list below to delete files or folders, but would it be deleted directly, not in the trash? Is there parameter which is for delete file directly?

find / -name .DS_Store -exec rm {} + 
find . -name .DS_Store -type f -delete
Source Link

command about find for delete file or folder application

I can use command list below to delete files or folders, but would it be deleted directly, not in the trash? Is there parameter which is for delete file directly? Thanks. find / -name .DS_Store -exec rm {} + find . -name .DS_Store -type f -delete