Element: <source>

Syntax


<!ELEMENT source         (#PCDATA)>

This element occurs in the elements : Element : <copy> | Element: <move>

Description

The element source is used to specify name of the source file when processing a Element : <copy>, or a Element: <move>.

Examples

<copy base="/usr/src/mypackage">
        <option>force</option>
        <source>config.txt</source>
        <destination>/opt/mypackage/config.txt</destination>
</copy>

The equivalent bash script is :

echo Copying 'config.txt into /opt/mypackage/config.txt'
cd /usr/src/mypackage
cp -f  config.txt /opt/mypackage/config.txt