<!ELEMENT move (option?, source+, destination)> <!ATTLIST move base CDATA #IMPLIED> |
This element occurs in the elements alfs, else, stage. and then
See also : option, source, destination.
The element move is used to move one or several source files and/or directories into a destination file or directory
The supported option is an option of the mv command:
force
When processing this element, one moves each source to the destination, using the specified option if present.
When the attribute base is specified, it should contain the name of the current directory from which the move operation is performed.
<move> <source>/usr/src/mypackage/config.txt</source> <destination>/opt/mypackage/config.txt</destination> </move> |
The equivalent bash script is :
echo Move ' /usr/src/mypackage/config.txt /opt/mypackage/config.txt' mv /usr/src/mypackage/config.txt /opt/mypackage/config.txt |