I've tried looking at the docs and searching here but I'm either missing it or not understanding. I have a gdrive with about 25gb of data. I also have a local copy. I don't need this local copy so I'm trying to trim it down. I need to download nightly backups that end up on my gdrive (from other random sources like my gcc micro instance) to my local hard drive. I want to keep all files on my gdrive but only download the last week's worth. I'm aware my gdrive will continue to grow and I'm fine with that for now. I just have less dedicated local resources and trying to make this work.
Can someone please point me to the right command line switch or other documentation that might help? I'm using Ubuntu but am familiar with Windows as well, if that matters at all.
What you want is probably --max-age
I don't think you can specify a date though. You'd have to specify it in "time since now". So a week would be 7d (7 days)
--max-age 7d
if you expect the transfer to take al long time you might want to add a little extra time-buffer to account for the time the process will take to work though all the files.
Hope that helps, and let me know if there is anything else you find confusing