Name
MoveFSObj -- move file or directory (V10.0)
Synopsis
int ok = MoveFSObj(STRPTR src, STRPTR dst, struct hwTagList *tags);
Function
This function must move the file or directory specified by src to the location specified dst. Note that dst will always include the file or directory name, even if it is the same as the one passed in src. Also note that dst can be a location on a different partition. MoveFSObj() must return True on success or False on failure.

The tags argument will be set to a tag list that can contain the following tags:

HWMOVEFSOBJTAG_USERTAGS:
If this is set, pData will point to a struct hwUserTagList containing a list of user tags passed by the Hollywood script. User tags are a way of passing additional information from Hollywood scripts to plugin functions. See User tags for details.

Inputs
src
filesystem object to move
dst
new location for the filesystem object
tags
tag list containing further parameters (see above)
Results
ok
True to indicate success, False on failure

Show TOC