BASE=`date '+%m%d%y_%H%M_'` umount /mnt/fuji mount /mnt/fuji mkdir ~/.getfuji rm -f ~/.getfuji/* DIR=`pwd` cd ~/.getfuji cp -v /mnt/fuji/dcim/100_fuji/* . umount /mnt/fuji resequence $BASE 1 * chmod a-x * rm dscf* mv $BASE* $DIR