Deleting Files

You may delete files, folders, and symbolic links from the server, provided that you have sufficient permissions.

To request deletion of a file, use the "–x" option as shown below:

movedat -x [user@]host:path ...

For example,

movedat -x

You may delete directories only if they are empty.  Mass deletion of directory trees is not currently supported.

If you delete one of a matched pair of partial uploads (files ending in -sv.met or -sv.tmp) the server may automatically delete the other.  See the Upload Status section for details.

Multiple remote files may be deleted with a single command.  For example:

movedat -x

Wildcards may be used to match multiple remote files.  Note the use of quotes in the example below to avoid local wildcard matching.  The exact syntax required may vary depending upon your shell environment.

movedat -x '*'

Use caution as wildcards may include files you did not intend.  Read the entire wildcards section for important details.  If you are unsure, use the -F option to test a pattern before performing a deletion.

movedat -F '*'

Symbolic links may be deleted without affecting the link's target.