gfal-rm - Man Page

Remove files or directories


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


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.


-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.


perform bulk deletion.


do not perform any check on the file prior to delete. this is needed to delete HTTP signed URLs





-r srm://



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


Duarte Meneses <>
Adrien Devresse <>
Alejandro Alvarez Ayllon <>
Andrea Manzi <>

See Also

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

Referenced By

gfal-cat(1), gfal-chmod(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).

May 2017 v1.5.0