2 Jan
2008
2 Jan
'08
15:22
How can I delete only soft link files from a directory using the command line? I have too many files to delete them one by one.
find . -type l -print0 | xargs -0 rm
simpler, but more dangerous if the names contain weird characters:
find . -type l | xargs rm (not recommended!)
In any case, try it with "echo" first instead of "rm" so you can get an idea what will happen.
Thank you all for the answers. I'll try this way. Thanks again, IG ________________________________________________________ VÁSÁROLJON ONLINE! Ezzel a kártyával nem húzzák le! http://www.klikkbank.hu -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org