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

Re: File Processing: Please Advise



--cut here
#!/bin/sh
#$1 holds first command line argument
#do stuff to $1 here...
echo $1 #example
--end cut

Put this in a file, then chmod +x that file.

Now, invoke this like so:

$ find . -name '*.jpg' | xargs myscript.sh

Carl





Reply to: