Go to the first, previous, next, last section, table of contents.


Xcopy

The xcopy script is used to recursively copy one directory to another. Its syntax is:

xcopy sourcedirectory targetdirectory

If targetdirectory does not exist, it is created. If it does exist, the files of sourcedirectory are directly copied into it, and no subdirectory called sourcedirectory is created, unlike with cp -rf.

Bugs

This command is a big kludge. A proper implementation would take a rework of significant parts of mtools, but unfortunately I don't have the time for this right now. The main downside of this implementation is that it is inefficient on some architectures (several successive calls to mtools, which defeats mtools' caching).


Go to the first, previous, next, last section, table of contents.