arrivals_deleter
The arrivals deleter is a command line utility to remove files and directories from the /datacentre/arrivals area. This area is mounted read-only so it is impossible to delete files directly. Other simple operations are available such as making directories and renaming files. use the -h option to find out more.
(ingest) [badc@ingest1 test]$ arrivals_deleter arrivalsDeleter.py [-d] [OPTIONS] file1 [file2...] (or --delete ...) deletes named files file1 etc (NB delete is the default action, so -d can be omitted) arrivalsDeleter.py -r [OPTIONS] file1 file2 (or --rename ...) renames file1 to file2 arrivalsDeleter.py -m [OPTIONS] dir1 [dir2...] (or --mkdir ...) make directory dir1 etc arrivalsDeleter.py --delete-recursive [OPTIONS] dir1 [dir2...] recursively delete directory dir1 etc OPTIONS are: -i (or --interactive) prompt interactively for each file / directory WARNING: only prompts for each file / directory explicitly listed on command line (including expanded from wildcard), NOT for items encountered during recursion with --delete-recursive -l loginfile read login details from specified file (or --login-file=...) For more information, see the doc string of the python class (see this also for spec of the login details file). (or --delete ...)