Skip to content

Documentation of target parameter for move and copy commands #639

@dkocher

Description

@dkocher
  • Renaming not working as shown in the doc
	duck  --move protocol:/<folder>/<name> <file>

Does not work:

	$ duck --username MYUSERNAME --move davs://webdav.mycloud.ch/siteweb/age.txt myfile.txt
	Renaming age.txt to /…
	Cannot rename age.txt. Unexpected response (400 Bad Request). 
	Please contact your web hosting service provider for assistance.

But this is working:

	$ duck --username MYUSERNAME --move davs://webdav.mycloud.ch/age.txt davs://webdav.mycloud.ch/myfile.txt

	Renaming age.txt to gio.txt…
  • Moving remote file to remote directory
	$ duck --username MYUSERNAME --move davs://webdav.mycloud.ch/age.sh test/

	Renaming age.sh to /…
	Cannot rename age.sh. Unexpected response (400 Bad Request). 
	Please contact your web hosting service provider for assistance.

But this is working:

	$ duck --username MYUSERNAME --move davs://webdav.mycloud.ch/age.txt davs://webdav.mycloud.ch/GIO/age.txt

	Renaming age.txt to age.txt…
	Note:
	This information "Renaming age.txt to age.txt…" is not accurate. Actually it moves the file, it does not rename it.

From iterate-ch/cyberduck#17821.

Metadata

Metadata

Assignees

Labels

cliCyberduck Command Line Interface

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions