Element: <remove>

Syntax


<!ELEMENT remove         (#PCDATA)>

This element occurs in the elements alfs, else, stage. and then

Description

The element remove allows to remove a file or directory. The content of the element contains the name of the file.

The deletion of the directory is always recursive (rm -fr).

Examples


<remove>/usr/src/mypackage</remove>

The equivalent bash script is :


echo Removing /usr/src/mypackage
rm -rf /usr/src/mypackage