master
Sergey Marinkevich 6 months ago
parent b2475712c2
commit da96c6f57e

@ -0,0 +1,2 @@
install:
sudo cp fix_gto.sh /usr/local/bin/

@ -7,9 +7,9 @@ while read -r json_file; do
filename="$dirname/$filename" filename="$dirname/$filename"
if [[ -e "$filename" ]]; then if [[ -e "$filename" ]]; then
touch_string=$(date -d "@$picture_ts" +%Y%m%d%H%M) touch_string=$(date -d "@$picture_ts" +%Y%m%d%H%M)
ls -la "$filename" #ls -la "$filename"
touch -m -t "$touch_string" "$filename" touch -m -t "$touch_string" "$filename"
ls -la "$filename" #ls -la "$filename"
else else
>&2 echo "Cannot find $filename referenced by $json_file" >&2 echo "Cannot find $filename referenced by $json_file"
fi fi

Loading…
Cancel
Save