I wonder if there is any way to create the shortcuts in batch...
I need to create shortcuts from several files to another folder, but I could only do it by running the command file by file
rclone backend shortcut drive: FOLDER1/1.txt FOLDER2/1.txt
rclone backend shortcut drive: FOLDER1/2.txt FOLDER2/2.txt
rclone backend shortcut drive: FOLDER1/3.txt FOLDER2/3.txt
I did a workaround to get it done in batch but it is not the best method...
I used rclone lsf -F to list the folders with the following command
for f in $(rclone lsf -R drive:FOLDER1); do rclone backend shortcut drive: FOLDER1/"$f" FOLDER2/"$f"; done
the command is not 100% correct, I just put it to exemplify
it would be cool if there was a way to do something like...
rclone backend shortcut drive:FOLDER1/* FOLDER2/
in my case I would like to have the shortcut to each file
- os/version: debian 11.3 (64 bit)
- os/kernel: 5.10.0-14-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.9
- go/linking: static
- go/tags: none
rclone backend shortcut drive: test1/1.txt test2/1.txt