-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-04-03 at 15:56 +0200, Carlos E. R. wrote:
That about the quotes in xargs :-?
And I will have to run it as root to avoid the permission denied errors, too.
It aborted after 5 minutes: Telcontar:~ # time nice find /* -type f | xargs file | awk '/Bourne-Again/{print $1}'| tr -d ':' | tee listado_shells | xargs -r grep "mkfs.ext4 -L test_" xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option find: `/home/cer/.gvfs': Permission denied find: `standard output': Broken pipe find: write error real 5m2.171s user 0m3.733s sys 0m21.042s Telcontar:~ # I'll put another tee to see where. Telcontar:~ # time nice find /* -type f | tee listado_total | xargs file | awk '/Bourne-Again/{print $1}'| tr -d ':' | tee listado_shells | xargs -r grep "mkfs.ext4 -L test_" xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option tee: standard output: Broken pipe find: `/home/cer/.gvfs': Permission denied tee: write error real 0m52.520s user 0m3.404s sys 0m10.551s Telcontar:~ # No luck. The last lines of 'listado_total' were: windows/OldA/not_mounted /windows/href.pif /windows/Worm_Gibe_C_1.zip /windows/D/not_mounted I don't know what it stuck at. The next entry in the sequence should have been "/windows/E/not_mounted". There are no files in the /windows directory, except those above and some more "not_mounted" 0 bytes flags. There is a file in the listing, early, like this: /data/storage_b/Backups_parciales_particiones_test/Elessar_sda9/home/cer/.local/share/Trash/info/"Custom Install.mpeg.rar".trashinfo That could be the one that produces the first error :-? No, there are several such entries: it would have complained more times. Hey, look at these entries: /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/test! /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/test. /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/test: /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/test\ /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/tes|t /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/[.test].test /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/~test /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/,}test3 /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/[.test /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/test::test /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/"test" /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/12.{test /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/te -st /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/te\*st /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/tes t /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/tes<>t /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/test /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/test's /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/test.. /home1/cer/Compilaciones/FSlint-2.08/fslint/tstlnt/findnl/test:: Wow, difficult ones... :-o Maybe using the "-print0" option in find :-? - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlFcOtUACgkQtTMYHG2NR9UIpwCfS9y4RJ35KTdWNswnbcrZYeNV IJIAniRmNATXEUnZNlCax0fiK2KXcM+e =W2OP -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org