reach7458
(reach7458)
December 1, 2022, 1:16pm
1
As a linux and mac user I am using cp, mv, ls etc.
Rclone uses the ls but not the cp and mv.
Is it possible to add them as "aliasses" to rclone
so rclone cp is the same as rclone copy
rclone mv is the same as rclone move
It's not really annoying but as a habbit i'm always typing the commands wrong.
I cannot be the only one who is doing this wrong
ncw
(Nick Craig-Wood)
December 1, 2022, 7:53pm
2
rclone copy
and rclone move
don't have quite the same semantics as mv
and cp
.
There is an issue for this!
opened 02:13AM - 16 Nov 20 UTC
UX
new feature
filtering
`rclone copy` and `rclone move` diverge in syntax and semantics from their unix … counterparts. There are good reasons (efficiency and primary rclone function as a cloud tool) for why rclone move and rclone copy behave the way they do at the moment. Changing them would break many rclone based workflows in the wild.
Let's add new `rclone mv` and `rclone cp` which behave exactly like their unix counterparts. One of the things that would be required for these is multiple source parameters.
Originally submitted by @ncw at https://github.com/rclone/rclone/issues/4308#issuecomment-642259366
The implementation details have been discussed in https://github.com/rclone/rclone/issues/4308
The all new `rclone cp` would support a flag like `--recurse` (or even `-R`) with semantics close to `cp -R` (TBD).
Originally submitted by @mrmcmuffinz at https://github.com/rclone/rclone/issues/1228#issuecomment-426869102
A similar request #4776 adds `rsync` specifics on top of these requirements.
reach7458
(reach7458)
December 1, 2022, 8:00pm
3
I understand. But it's not thats -R, -i or something like that need to be implemented. It doesn't need to mimic cp or mv. It's more like cp = copy mv=move. No additional argument for cp or mv. That's it. cp is more like an alias for copy
But like I said it's not an annoyance. I only make these mistakes with rclone and I can live with it.
I also could create a copy bash script with 2 arguments which makes the problem go away.
That's what I would do as making them aliases, I feel confuses more folks since they don't act the same.
I think it's not a great idea to add it in.
system
(system)
Closed
January 30, 2023, 8:05pm
5
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.