Kelvin's tech-box
  • Home
  • About
By Kelvin Li in linux — Jul 22, 2012

Delete files with find results

When you tried to delete all files with the name abc.txt under the folder /home/kelvin, try the following commands(one of them works):

    find /home/kelvin -name abc.txt | xargs rm -rf
    find /home//kelvin -name abc.txt -exec rm -fv {} \;

Refer the doc: http://www.linuxsir.org/main/?q=node/137

Done.

Previous issue

制作,编译和使用静态库

Next issue

Setup Postgres on Ubuntu

Kelvin's tech-box © 2025
Powered by Ghost