1GFAL-XATTR(1)               General Commands Manual              GFAL-XATTR(1)
2
3
4

NAME

6       gfal-xattr - show or set attributes of a file
7

SYNOPSIS

9       gfal-xattr [ OPTION ]...  FILE [ ATTRIBUTE [= VALUE ]]
10
11

DESCRIPTION

13       gfal-xattr  Display  attributes  of  a file or set them to a new value.
14       This command comes in three forms, making it possible, for a  specified
15       file,   to  list  all  attribute  and corresponding values, display the
16       value of a particular attribute or assign a new value to  a  particular
17       attribute - see examples.
18

OPTIONS

20       -h, --help
21              show help about the command.
22
23       -V, --version
24              output version information and exit.
25
26       -v, --verbose
27              verbose mode. Repeat up to 3 times for the most verbose mode.
28
29       -D, --definition
30              define properties for gfal2.
31
32       -C, --client-info
33              provide custom client-side information
34
35       -t, --timeout
36              global  timeout  for  the  execution  of the command. Command is
37              interrupted if time expires before it finishes.
38
39       FILE   file URI
40
41       ATTRIBUTE
42              optional argument, specifying a attribute to get or set.  If  no
43              attribute  is given, all attributes and corresponding values are
44              displayed.
45
46       VALUE  if a attribute is given, a new value can optionally be  assigned
47              to it.
48
49

EXAMPLES

51       Show all attributes and values of a file:
52              gfal-xattr srm://endpoint.cern.ch/path/file
53
54       Show the value of a particular attribute:
55              gfal-xattr srm://endpoint.cern.ch/path/file user.status
56
57       Set a new value to an attribute:
58              gfal-xattr       srm://endpoint.cern.ch/path/file      user.sta‐
59              tus=new_value
60
61       Typically, you can get the transport urls (turls) with the  user.repli‐
62       cas attribute:
63              srm://endpoint.cern.ch/path/file user.replicas
64
65

FILES

67       /etc/gfal2.d/*
68              All configuration files in this directory affect the behavior of
69              the underlying gfal2.
70
71

AUTHORS

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

SEE ALSO

79       gfal-cat(1), gfal-chmod(1),  gfal-copy(1),  gfal-ls(1),  gfal-mkdir(1),
80       gfal-rename(1),  gfal-rm(1),  gfal-save(1),  gfal-stat(1), gfal-sum(1),
81       gfal-xattr(1)
82
83
84
85v1.5.0                             May 2017                      GFAL-XATTR(1)
Impressum