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, enter: 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, enter: 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 path to the local directory you want to use.
- To change your remote working directory, enter: cd [remote directory]
Note: Replace [remote directory] with the path to the remote directory you want to use.
- To display files in your remote directory, enter: ls
- To display files in your local directory, enter: lls
- To print your local working directory, enter: lpwd
- To print your remote working directory, enter: pwd
- To exit cadaver, enter: quit
- Article ID: 2539
- Last updated: 29 Jul, 2011
-
- Views: 3493
-
- Print
-