fix: Correct date syntax
This commit is contained in:
parent
f6cb04f0ac
commit
f301b3ecb8
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ fi
|
||||||
find . -type f -iname "*.info.json" -exec ls -t {} + | while read -r xp; do
|
find . -type f -iname "*.info.json" -exec ls -t {} + | while read -r xp; do
|
||||||
x="${xp##./}"
|
x="${xp##./}"
|
||||||
df=$(jq -rc '.timestamp' "${subfolder}/${x}")
|
df=$(jq -rc '.timestamp' "${subfolder}/${x}")
|
||||||
touch "${subfolder}/${x}" -d "${df}"
|
touch "${subfolder}/${x}" -d "@${df}"
|
||||||
#TODO: Read the date directly
|
#TODO: Read the date directly
|
||||||
#df=$(jq -rc '.timestamp' "${subfolder}/${x}")
|
#df=$(jq -rc '.timestamp' "${subfolder}/${x}")
|
||||||
#if [[ "${breaktime}" =~ ^[0-9]+$ ]]; then
|
#if [[ "${breaktime}" =~ ^[0-9]+$ ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue