From f301b3ecb8baa069556e6694adfd06e32264fff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Sol=C3=ADs?= Date: Sun, 8 Jun 2025 22:09:58 +0000 Subject: [PATCH] fix: Correct date syntax --- youtube-download-channel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-download-channel.sh b/youtube-download-channel.sh index 461188b..d9e7cb7 100755 --- a/youtube-download-channel.sh +++ b/youtube-download-channel.sh @@ -75,7 +75,7 @@ fi find . -type f -iname "*.info.json" -exec ls -t {} + | while read -r xp; do x="${xp##./}" df=$(jq -rc '.timestamp' "${subfolder}/${x}") - touch "${subfolder}/${x}" -d "${df}" + touch "${subfolder}/${x}" -d "@${df}" #TODO: Read the date directly #df=$(jq -rc '.timestamp' "${subfolder}/${x}") #if [[ "${breaktime}" =~ ^[0-9]+$ ]]; then