Commands for Managing Files and Folders in cadaver for Unix and Linux
Time to Complete (in minutes): 10
- Question:
- What are some of the commands for managing files and folders in cadaver for Unix and Linux?
- Answer:
-
- To upload all files beginning with "test", enter: mput test*
- To download all files beginning with "test", enter: mget test*
- To delete a file, type: delete [filename]
Note: Replace [filename] with the name of the file you want to delete.
- To move a file to a folder, enter: move [filename] [folder name]
Notes:
- Replace [filename] with the name of the file you want to move.
- Replace [folder name] with the name of the folder to which you want to move the file.
- To rename a file, type: move [filename] [new file name]
Notes:
- Replace [filename] with the name of the file you want to rename.
- Replace [new file name] with the file's new name.
- To create a new folder, enter: mkcol [new folder name]
Note: Replace [new folder name] with the name of the folder you want to create.
- To delete a folder, enter: rmcol [folder name]
Note: Replace [folder name] with the name of the folder you want to delete.
- To copy a file, enter: copy [filename] [new file name]
Notes:
- Replace [filename] with the name of the file you want to copy.
- Replace [new file name] with a name for the copied file.
- To change your local working directory, enter: lcd [local directory]
Note: Replace [local directory] with the name of the local directory you want to change.
- To change your remote working directory, type: cd [remote directory]
Note: Replace [remote directory] with the name of the remote directory you want to change.
- To display files in your remote directory, type: ls
- To display files in your local directory, type: lls
- To print your local working directory, type: lpwd
- To print your remote working directory, type: pwd
- To exit cadaver, enter: quit