Browse - computer tips - bash xargs for files with space in the nameDate: 2010apr20 Language: bash OS: Linux Q. How can I use xargs when my file name contain spaces? A. Use: tar tf file.tar | xargs -d "\n" rm That will work unless the filenames contain newlines in them. via http://linux.slashdot.org/comments.pl?sid=1623912
Add a commentSign in to add a comment | Advertisements:
|