SysTutorials

Linux Manual Pages › Section 1

gfal-rm(1)

NAME

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 [at] cern.ch>
Adrien Devresse <adrien.devresse [at] cern.ch>
Alejandro Alvarez Ayllon <alejandro.alvarez.ayllon [at] 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)