User Tools

Site Tools


users:taarre:tricks:srm

Using offset

If you have more than 1000 entries in your directory then dCache will return only the first 1000. To view directories with more than 1000 entries, please use the following parameters:

How many entries to read

  1. count=<integer>

Where to start reading

  1. offset=<integer>

Example:

srmls -count=3 srm://srm-door.example.org:8443/pnfs/example.org/data/dteam/testdir  -srm_protocol_version=2
0 /pnfs/example.org/data/dteam/testdir/
    31 /pnfs/example.org/data/dteam/testdir/testFile1
    31 /pnfs/example.org/data/dteam/testdir/testFile2
    31 /pnfs/example.org/data/dteam/testdir/testFile3
    
srmls -count=3 -offset=1 srm://srm-door.example.org:8443/pnfs/example.org/data/dteam/testdir  -srm_protocol_version=2
0 /pnfs/example.org/data/dteam/testdir/
    31 /pnfs/example.org/data/dteam/testdir/testFile2
    31 /pnfs/example.org/data/dteam/testdir/testFile3
    31 /pnfs/example.org/data/dteam/testdir/testFile4
users/taarre/tricks/srm.txt · Last modified: 2014/05/21 10:56 by taarre