s4cmd
s4cmd copied to clipboard
timestamp filter does not work for dsync?
Hi,
I'm trying to use the timestamp filtering on dsync, copied from readme:
ag@media03:~$ s4cmd dsync --last-modified-after='2 months ago' -n /mnt/volume_sgp1_02/recordings/ s3://b2bbcdn/videos/ Usage: s4cmd [options]
s4cmd: error: Option --last-modified-after: invalid datetime value: '2 months ago'
s4cmd version 2.1.0 Python 3.6.9
I tried with different values ("2020-11-15", etc.) on both --last-modified-after and --last-modified-before parameters but did not seem to make any difference in the list of files being affected. Does the filter apply to S3 src/dst only?
Can you provide some examples on how to properly utilize these 2 parameters?
Cheers, Andryan
eventually I decided to add a new parameter instead: --skip-files-older-than-seconds
PR #180