|
|
|
@ -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
|
|
|
|
|