X-Git-Url: http://git.scottworley.com/picsort/blobdiff_plain/5167ae018f03fc46747c28bb2662805d59bf62bc..0f88946688d3ba2ffb20cf5d391ecc7a22fac7e9:/pic-mv?ds=inline diff --git a/pic-mv b/pic-mv index 195b959..b84390c 100755 --- a/pic-mv +++ b/pic-mv @@ -38,7 +38,7 @@ if [[ "$file" == *.NEF ]];then mv -vi "$file" "$destdir/$name $number.NEF" else if [[ "$rotate" ]];then - sed -i "s/^# ROBOTS_INSERT_THINGS_HERE\$/&\n\"$name $number.jpeg\" => $rotate," "$destdir/rotations.php" + sed -i "s/^# ROBOTS_INSERT_THINGS_HERE\$/\"$name $number.jpeg\" => $rotate,\n&/" "$destdir/rotations.php" fi mv -vi "$file" "$out" fi