Toyoo
May 14, 2021, 12:14pm
1
I’m looking at https://docs.storj.io/api-reference/uplink-cli/cp-command and I see the following:
--expires string
optional expiration date of an object. Please use format ( yyyy-mm-ddThh:mm:ssZhh:mm
)
Is there an equivalent switch for the put
command?
Can the ls
command also print the expiration date?
1 Like
@Toyoo - Excellent questions. I believe the answers are “no” and “no”, but there isn’t any good reason for either of those. Possibly just no one has needed them yet.
I’ll take a look and see what can be done.
2 Likes
Result: I’ve added those features to uplink put
and uplink ls
in https://review.dev.storj.io/c/storj/storj/+/4798 and https://review.dev.storj.io/c/storj/storj/+/4799 respectively. If they survive review, they’ll be added to the release.
You can use the patches from those changesets if you want to test it out locally.
6 Likes
Toyoo
May 17, 2021, 7:23pm
4
Gosh, I wish my workplace used Gerrit, I’m missing it so much. Thank you!
1 Like