mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 06:03:25 +00:00
Does not work on purge-days #168
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wc7086 on GitHub.
I used
purge-daysin the command, butMaxDateinmetadatastill shows as0001-01-01T00:00:00Ztransfer.sh version: transfer.sh 1.2.4: Easy file sharing from the command line
os: Linux 5.10.0-0.bpo.7-amd64 #1 SMP Debian 5.10.40-1~bpo10+1 (2021-06-04) x86_64 GNU/Linux
Debian 10
@paolafrancesca commented on GitHub:
@wc7086
purge-daysdoes not effectMaxDatein metadata. it deletes the files from the storage after the number of days setup@paolafrancesca commented on GitHub:
sorry, I forgot to answer your question
the logic is different according to backend storage: on s3 and storj the expiration date of the object for the bucket is set on upload, on local storage and gdrive it will delete any file that at any purge scans has the creation date + purge days after the time of the scan
@paolafrancesca commented on GitHub:
0is the zero value: it means that the feature is disabled.In
REAMDE.mdno zero default value are reported.@stefanbenten what do you think? Should we report them with something like
0 (disabled)?@wc7086 commented on GitHub:
I think the necessary
ValueinUsagein README.md needs to be filled in, even if the default value is0.@wc7086 commented on GitHub:
When I change servers, how does the program know when files need to be deleted?