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

Re: quick shell questions



also sprach sean finney <seanius@seanius.net> [2002.12.10.2011 +0100]:
> find path -iname '*ogg' -print0 | xargs -0 -n1 -i mv "{}" "`date +%N`.jpg"

find path -iname '*ogg' -exec mv "{}" "`date +%N`.jpg" \;

no need for xargs (although it is cool).

-- 
Please do not CC me! Get a proper mailer instead: www.mutt.org
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
NOTE: The public PGP keyservers are broken!
Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc

Attachment: pgprPC9D3ZDjn.pgp
Description: PGP signature


Reply to: