delete - Advanced file and directory deletion
delete [OPTIONS] < INPUT-LINE…
The delete command can be used to script multi-line delete operations as a single batch.
Each path is assumed to be URL-encoded; in particular any spaces and non-ASCII characters must be encoded. Each path may have a shell-compatible wild card pattern in its final component. Type "man glob" for details.
Symbolic links are never followed - only unlinked (deleted).
Automatic Endpoint Activation
If an endpoint is not activated, this command will attempt to auto-activate it. Otherwise, the command will fail, and direct the user to run endpoint-activate and/or display a web URL for OAuth activation.
This command supports the following endpoint identification formats:
"^test_bookmark". The bookmark name must be prepended with a
"^"character. The bookmark name may have URL-escaped characters. If the bookmark name contains a "/", it must be URL-escaped as "%2F".
"bob#test_endpoint". This contains the user who owns the endpoint and the endpoint legacy name.
Unqualified Legacy Name:
"test_endpoint". The user name defaults to the current logged in user.
An INPUT-LINE has the following format:
Remove directories and their contents recursively. Note that path(s) do not have to be directories and symlinks are never followed.
Ignore nonexistent files and directories. The operation succeeds if the path does not exist.
- --label LABEL
Set the task’s label. The label can be displayed and searched for in commands such as status and details. See labels(7) for more details on labels.
- -d DEADLINE
Set the task’s deadline. If the task has not completed by the deadline it will be automatically canceled. A suffix of "m", "h", or "d" may be specified to indicate minutes, hours, or days. If a unit suffix is not given it is assumed to be minutes. Example: "30m", "4h", "1d".
If a deadline is not explicitly set, Globus Online will give the task a flexible deadline that is automatically extended as long as it is making progress.
Remove checks for possible human errors such as deleting all files in
/~/. Only use this option if necessary and always be careful when issuing delete commands.
- --taskid TASKID
See transfer(1) for details on atomic task submission.
Remove files matching patterns:
$ delete go#ep1/~/Downloads/*.tmp go#ep1/~/Downloads/*.txt <EOF>