Closed Merwenus closed 1 year ago
Dropbox downloads pictures to my synology server and I want to move them to specific folder, but it seems this script does not get the original file name properly so it fails to rename and move.
https://logout.hu/dl/upc/2020-10/122010_6656.png
Original file name: 2020-09-27 12.07.37.jpg After getfilename: Error: File not found - 12.07.37.jpg
2020-09-27 12.07.37.jpg
Error: File not found - 12.07.37.jpg
please verify what exiftool give has information with the command exiftool ${FILE} | grep -a -i "create date" | head -1 | xargs.
EDIT : I think it's related to this issue escape
Dropbox downloads pictures to my synology server and I want to move them to specific folder, but it seems this script does not get the original file name properly so it fails to rename and move.
https://logout.hu/dl/upc/2020-10/122010_6656.png
Original file name:
2020-09-27 12.07.37.jpg
After getfilename:Error: File not found - 12.07.37.jpg