ELFI vs lcg-utils
A detailed comparison of ELFI and <tt>lcg-utils</tt> usage
| ELFI | lcg-utils | |
|---|---|---|
| access a Grid file contents by logical file name | emacs /elfi/LFC/path/to/lfn | N/A |
| access a Grid file contents by replica name | emacs /elfi/<SE-name>/path/to/replica | N/A |
| create and register a file in the catalog | cp /local/file /elfi/LFC/path/to/lfn | lcg-cr -l lfn:/logical/file/name file:///local/file |
| delete a file from the catalog, and all of its replicas | rm /elfi/LFC/path/to/lfn | lcg-del -a lfn:/logical/file/name |
| delete a single replica from the catalog | rm /elfi/<SE-name>/logical/file/name | lcg-del -s SE-name /logical/file/name |
| replicate a file across SEs | ln /elfi/LFC/logical/file/name /elfi/<SE-name>/logical/file/name | lcg-rep -d sfn://SE-name/path/to/replica lfn://logical/file/name |
| list LFC catalog contents | ls -l /elfi/LFC/path | lfc-ls /path |
| list replicas residing on a given SE | ls -l /elfi/<SE-name>/logical/file/name | lfc-lr /logical/file/name | grep SE-hostname |
| list ACL of a given LFN | getfacl /elfi/LFC/logical/file/name | lfc-getacl /logical/file/name |
| set ACL entry on a LFN | setfacl -m u:123:rw /elfi/LFC/logical/file/name | lfc-setacl -m u:123:6 /logical/file/name |