fs::file_copy (public)
fs::file_copy -file_id file_id -target_folder_id target_folder_id \ [ -postfix postfix ] [ -symlink ]
Defined in packages/file-storage/tcl/file-storage-procs.tcl
copy file to target folder
- Switches:
- -file_id (required)
- Item_id of the file to be copied
- -target_folder_id (required)
- Folder ID of the folder to which the file is copied to
- -postfix (optional)
- Postfix will be added with "_" to the new filename (not title). Very useful if you want to avoid unique name constraints on cr_items.
- -symlink (optional, boolean)
- Defines if, instead of a full item, we should just add a symlink.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- fs_add_delete_copy