| Thread Previous • Date Previous • Date Next • Thread Next |
On Thu, 2002-02-14 at 09:07, Mogens Valentin wrote:
>
> find -options |cp src dst
> Læs man find
> Sorry kortfattetheden, travlt...
feks noget i denne stil
#!/bin/sh
find /opt/mirror/*.iso -exec diff -q {} . \; 2>tmpfil.$$
cat tmpfil.$$ | while read i; do
tt=`echo $i|cut -d: -f2|cut -c4-`
echo cp \"/opt/mp3/$tt\" .
done
rm tmpfil.$$
/Kim
| Thread Previous • Date Previous • Date Next • Thread Next |