2 Jan
2008
2 Jan
'08
15:39
On Wednesday 02 January 2008 15:05, Istvan Gabor wrote:
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. CU -- Stefan Hundhammer <sh@suse.de> Penguin by conviction. YaST2 Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Nürnberg, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org