find & rm

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Apr 25 14:06:12 EEST 2000


On Tue, 25 Apr 2000, Harris Kosmidhs wrote:

> Exo kapoia arxeia me kena meta3y tous px:
> 
> ./Blur-Song 2.mp3
> ./blur - song 2.mp3

[snip]

> Epeidh einai polla 8elo na sbhso osa einai kato apo 1MB.
> Kano:
> find . -size -1000k|xargs rm -f

No, try this:

	find . -print0 -size -1000k | xargs -0 /bin/rm -f

to '0' sto print0 kai sto xargs option, einai zero, mndev, nada,
oxi omikron.

An theleis na se rotisei gia kathe filename:

	rm: remove 'AUTO' ?

tote allakse to `/bin/rm -f' se `/bin/rm -i'.

-- 
Giorgos Keramidas, <keramida at ceid.upatras.gr>
"Long live the daemons."


--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list