blob: 9d74a9c09c8225c037ec565d06ae46fdc418ffde [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 xmtp [options] <directory> <file>
3
4DESCRIPTION
5 Create a script file for transfering complete directories with mtp.
6 If your mtp needs extra arguments (except of the -r option which
7 stands for reading files) for example the -g option then you can add
8 then to the command.
9 This command works recursively and can cause a to deep recursion or
10 a too long evaluation error when trying to make a script for huge
11 directories like "/players" for example.
12 If the <file> allready exists it will not be removed instead the script
13 will simply added to the end of the file.
14
15EXAMPLE
16 xmtp -gtubmud /basic ~/basic.csh
17 Create a script file "basic.csh" to transfer the whole content of the
18 "/basic" directory.
19
20 On your host you then just create a directory (normally with the same
21 name give to the xmtp command), change into the directory and read
22 the script file with "mtp -r basic.csh". Then just execute the script
23 with "csh" or "sh".
24