How to clone to a new folder with a random name or timestamp name?

rclone v1.58.1
- os/version: oracle 8.5 (64 bit)
- os/kernel: 5.4.17-2136.306.1.3.el8uek.aarch64 (aarch64)
- os/type: linux
- os/arch: arm64
- go/version: go1.17.9
- go/linking: static
- go/tags: none

How can I use the rclone command and clone to a folder destination with a random name/timestamp name?
I am using Google Drive.
Sorry if this is dumb I am new to rclone

Rclone doesn't randomly pick files or folders.

You probably get a list and randomize with some script.

Python example: select random file in folder python Code Example (codegrepper.com)

I'm sure you can find better with a few searches.

hi, not sure exactly what you need help with?

so the destdir has random name and you do not know what it is.
not sure how any copy command could work in that case.
for example,
if the source dir and the dest dir were both local file system, how could you use cp

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.