[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Shell Scripting -> find files *.<ext> and move them to /backup
- Subject: [ale] Shell Scripting -> find files *.<ext> and move them to /backup
- From: phasefx at magusaptus.com (Jason Etheridge)
- Date: Thu May 6 17:55:11 2004
- In-reply-to: <1083880036.588.1.camel@bsd>
- References: <[email protected]> <1083880036.588.1.camel@bsd>
Robert Heaven wrote:
> I think might work:
>
> find / -name "*.jpg" -exec mv /mnt/mymachine/ {} \;
mv might have trouble across filesystems. Could do a cp and then a rm.
-- Jason