neuro mv

Move or rename files and directories

Usage #

neuro mv [OPTIONS] [SOURCES]... [DESTINATION]

Move or rename files and directories.

SOURCE must contain path to the file or directory existing on the storage, and DESTINATION must contain the full path to the target file or directory.

Examples #

# move and rename remote file $ neuro mv storage:foo.txt storage:bar/baz.dat $ neuro mv -T storage:foo.txt storage:bar/baz.dat # move remote files into existing remote directory $ neuro mv storage:foo.txt storage:bar/baz.dat storage:dst $ neuro mv storage:foo.txt storage:bar/baz.dat -t storage:dst # move the content of remote directory into other existing # remote directory $ neuro mv -T storage:foo storage:bar # move remote file into other user's directory $ neuro mv storage:foo.txt storage://{username}/bar.dat # move remote file from other user's directory $ neuro mv storage://{username}/foo.txt storage:bar.dat

Options #

NameDescription
--glob / --no-globExpand glob patterns in SOURCES [default: True]
-t, --target-directory DIRECTORYCopy all SOURCES into DIRECTORY
-T, --no-target-directoryTreat DESTINATION as a normal file
--helpShow this message and exit.