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
RFCP(1) Rfio User Commands RFCP(1)NAME
rfcp - Remote file copy
SYNOPSIS
rfcp [ -s size ] [ -v2 ] filename1 filename2
rfcp [ -s size ] [ -v2 ] filename directory
On Windows only:
rfcp [ -a ] [ -b ] [ -s size ] [ -v2 ] @command_file
DESCRIPTION
The remote file I/O copy program provides an interface to the shift remote file I/O daemon (rfiod) for transferring files between remote
and/or local hosts. Each 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 standard input is supported with the - character. Then directory in
output is not supported.
OPTIONS -a tells rfcp that the source file is ASCII text (Windows/NT only)
-b tells rfcp that the source is a binary file (Windows/NT only)
-s size
If specified, only size bytes will be copied
-v2 If specified, forces the RFIO V.2 protocol. Otherwise, V.3 (streaming mode) is used.
RETURN CODES
0 Ok.
1 Bad parameter.
2 System error.
3 Unknown error.
16 Device or resource busy.
28 No space left on device.
196 Request killed.
198 Stager not active.
200 Bad checksum.
SEE ALSO rcp(1), rfiod(1)AUTHOR
LCG Grid Deployment Team
LCG $Date: 2005/03/31 13:13:01 $ RFCP(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)