RFDIR(1) Rfio User Commands RFDIR(1)NAME
rfdir - Remote directory list
SYNOPSIS
rfdir directory
rfdir filename
DESCRIPTION
The remote directory list program provides an interface to the shift remote file I/O daemon (rfiod) for listing a remote directory or file.
The filename or directory argument is either a remote file name of the form:
hostname:path
or a local file name (not containing the :/ character combination). The output from the rfdir command is a full directory listing similar
to that of the ls -al command for listing local files or directories.
SEE ALSO rcp(1), rfiod(1)NOTES
rfdir does not support regular expressions (regexp(5)) in the directory or filename argument.
The date and time displayed by rfdir are for the last modification to the file.
AUTHOR
LCG Grid Deployment Team
LCG $Date$ RFDIR(1)
Check Out this Related Man Page
RFSTAT(1) Rfio User Commands RFSTAT(1)NAME
rfstat - get information about a file or directory
SYNOPSIS
rfstat directory
rfstat filename
DESCRIPTION
The rfstat program provides an interface to the shift remote file I/O daemon (rfiod) for getting information about a remote directory or
file. The filename or directory argument is either a remote file name of the form:
hostname:path
or a local file name (not containing the :/ character combination). The output from the rfstat command gives information similar to that
of the ls -il command for listing local files or directories, one field per line.
EXAMPLE
rfstat /tmp
Device : 802
Inode number : 2
Nb blocks : 16
Protection : drwxrwxrwt (41777)
Hard Links : 13
Uid : 0 (root)
Gid : 0 (root)
Size (bytes) : 4096
Last access : Wed Jun 15 07:18:10 2011
Last modify : Wed Jun 15 07:18:10 2011
Last stat. mod. : Wed Jun 15 07:18:10 2011
SEE ALSO rfio_stat(3), rfiod(1)NOTES
rfstat does not support regular expressions (regexp(5)) in the directory or filename argument.
AUTHOR
LCG Grid Deployment Team
LCG $Date$ RFSTAT(1)
Hi,
TASK 1:
I have been using this code to print the information of files kept at "/castor/cern.ch/user/s/sudha/forPooja" in some text file name FILE.txt.
rfdir /castor/cern.ch/user/s/sudha/forPooja | grep data | awk '{print "rfio:///castor/cern.ch/user/s/sudha/forPooja/"$9}' > FILE.txt
... (6 Replies)
Hi,
I wants to print the 9th column information with its path name in some txt file. Here is one line which works fine for me:
rfdir /castor/cern.ch/user/s/sudha/forPooja | grep data | awk '{print "rfio:///castor/cern.ch/user/s/sudha/forPooja/"$9}' > dataFilenames.list
rfdir=="ls -ltr" ... (2 Replies)