Your cart is currently empty!
Linux: Find and Delete files
Find the files you want to delete:
Shell
x
3
1
find . -type f
2
find . -not -type d
3
find . ! -type d
f
: a regular filed
: directoryl
: symbolic linkc
: character devicesb
: block devicesp
: named pipe (FIFO)s
: socket
Shell
1
1
1
find . -type f | xargs cat
Shell
1
3
1
for f in `find . -type f`;
2
do cat $f;
3
done
References:
Leave a Reply