Pastebin

Paste #6810: No description

< previous paste - next paste>

Pasted by Anonymous Coward

Download View as text


for year in 20??; do 
    time ( 
    echo $year STARTING
    for x in $year/in/**/*.jpg $year/in/**/*.JPG; do 
        #echo "Checking if $dest_folder/$x older than  $x"
        if [[ ! -e "$dest_folder/$x" ]] || [[ "$x" -nt "$dest_folder/$x" ]] ; then
            echo Updating $x
            nice convert -quiet -quality $quality -resize $resolution $x $dest_folder/$x
            echo -n , $x
        else
            echo Skipping $x
            #echo -n _
        fi
    done
    echo
    echo $year DONE
    ) #&
    #exit
done

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.