Client Desktop mac change date to 01/01/1970 after download

We have a fix for the modification date issue . The script that next cloud provided doesn’t work on snap.

Create Bash Script .

Sudo nano dates.sh
Chmod 755 dates.sh
./dates.sh

files=$(find . type f -newermt "1969-01-01" ! -newermt "1971-01-01")

IFS=$'\n'

for f in $files
do
touch -m $files
done

Lastly run this command which can take some time.

sudo nextcloud.occ files:scan --all -vvv

6 Likes