#uploading first 10 #pics from directory in ascending order
find /path/to/dir/ | sort | tail -n +2 | head -n 10 | while read f; do name=$(basename $f | perl -pe "s/\.\S+$/.html/"); ./hostr-image-upload-2.sh $f $name; done
#uploading first 10 #pics from directory in ascending order
find /path/to/dir/ | sort | tail -n +2 | head -n 10 | while read f; do name=$(basename $f | perl -pe "s/\.\S+$/.html/"); ./hostr-image-upload-2.sh $f $name; done
No replies yet.