[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Thanks.  I get the following, however, when I attempt to run from my
bash prompt:

trey at salamander~/pictures> OUTF=rem-duplicates.sh; echo "#! /bin/sh" >
$OUTF; find "$@" -type f -print0 | xargs -0 -n1 md5sum | sort --key=1,32
| uniq -w 32 -d --all-repeated=separate | sed -r
's/^[0-9a-f]*( )*//;s/([^a-zA-Z0-9./_-])/\\\1/g;s/(.+)/#rm \1/' >>
$OUTF; chmod a+x $OUTF; ls -l $OUTF
find: illegal option -- t
find: illegal option -- y
find: illegal option -- p
find: illegal option -- e
find: f: No such file or directory
sed: illegal option -- r
usage: sed script [-Ean] [-i extension] [file ...]
       sed [-an] [-i extension] [-e script] ... [-f script_file] ...
[file ...]
uniq: illegal option -- w
usage: uniq [-c | -d | -u] [-i] [-f fields] [-s chars] [input [output]]
-rwxr-xr-x  1 trey  wheel  11 Feb  6 13:33 rem-duplicates.sh

-- 
Cheers,
Trey
---

Humor is the only test of gravity, and gravity of humor; for a subject
which will not bear raillery is suspicious, and a jest which will not
bear serious examination is false wit.
-- Aristotle 

1:34PM up 5:22, 0 users, load averages: 1.42, 1.37, 1.29 
FreeBSD salamander.thesizemores.net 5.3-STABLE i386


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00179" href="msg00179.html">[ale] Looking for duplicate photos</a></strong>
<ul><li><em>From:</em> trey at fastmail.fm (Trey Sizemore)</li></ul></li>
<li><strong><a name="00180" href="msg00180.html">[ale] Looking for duplicate photos</a></strong>
<ul><li><em>From:</em> unixdude at gmail.com (Jim Patterson)</li></ul></li>
<li><strong><a name="00182" href="msg00182.html">[ale] Looking for duplicate photos</a></strong>
<ul><li><em>From:</em> pras at cycloeastern.com (pras at cycloeastern.com)</li></ul></li>
<li><strong><a name="00183" href="msg00183.html">[ale] Looking for duplicate photos</a></strong>
<ul><li><em>From:</em> aaron at pd.org (aaron)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00184.html">[ale] Looking for duplicate photos</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00186.html">[ale] Looking for duplicate photos</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00183.html">[ale] Looking for duplicate photos</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00195.html">[ale] Looking for duplicate photos</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00185"><strong>Date</strong></a></li>
<li><a href="threads.html#00185"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>