gfal-rm man page

gfal-rm — Remove files or directories

Synopsis

gfal-rm [ -h ] [ -V ] [ -v ] [ -D DEFINITION ] [ -C CLIENT-INFO ] [ -t TIMEOUT ] [ -r ] FILE...

Description

gfal-rm Removes each specified file or directory. By default, it does not remove directories. To delete a directory, --recursive needs to be given, in which case all given directories are removed too along with all their contents.

Options

-h, --help

show help about the command.

-V, --version

output version information and exit.

-v, --verbose

verbose mode. Repeat up to 3 times for the most verbose mode.

-D, --definition

define properties for gfal2.

-C, --client-info

provide custom client-side information

-t, --timeout

global timeout for the execution of the command. Command is interrupted if time expires before it finishes.

-r, --recursive

also remove directories and their contents recursively.

--bulk

perform bulk deletion.

Examples

gfal-rm

file:///tmp/test

gfal-rm

-r srm://endpoint.cern.ch/path/directory

Files

/etc/gfal2.d/*

All configuration files in this directory affect the behavior of the underlying gfal2.

Authors

Duarte Meneses <duarte.meneses@cern.ch>
Adrien Devresse <adrien.devresse@cern.ch>
Alejandro Alvarez Ayllon <alejandro.alvarez.ayllon@cern.ch>

See Also

gfal-cat(1), gfal-copy(1), gfal-ls(1), gfal-mkdir(1), gfal-rename(1), gfal-save(1), gfal-stat(1), gfal-sum(1), gfal-xattr(1)

Referenced By

gfal-cat(1), gfal-copy(1), gfal-ls(1), gfal-mkdir(1), gfal-rename(1), gfal-save(1), gfal-sum(1), gfal-xattr(1).

December 2014 v1.2.0