Pacific-Design.com

    
Home Index

1. Linux

2. Find Delete

Linux / Find Delete /

Find and Delete Directory

find . -name ".svn" -exec rm -r "{}" \;

Remove file by an inode number


ls -il
find . -inum 12894036759 -delete
find . -inum 12894036759 -exec rm -i {} \;

Escape quote in awk with \x27


cat delete.sorted | awk '{print "DELETE FROM links WHERE domain=\x27"$1"\x27;"}'