Hi,
$ lcg-gt <SURL> gsiftp
This returns a TURL and two numbers
$ edg-gridftp-rm <TURL>
$ lcg-sd <SURL> " <first number>" " <second number>" 0
The quotes around and space before the numbers are significant - without them lcg-sd will complain about the arguments because it doesn't like the negative numbers dcache returns as request ids. So for example:
$ lcg-gt srm://dcache.gridpp.rl.ac.uk:8443/pnfs/gridpp.rl.ac.uk/data/dteam/sc3/dr35_test-20050804-02 gsiftp
gsiftp://gftp0443.gridpp.rl.ac.uk:2811//pnfs/gridpp.rl.ac.uk/data/dteam/sc3/dr35_test-20050804-02
-2147246608
-2147246607
$ edg-gridftp-rm gsiftp://gftp0443.gridpp.rl.ac.uk:2811//pnfs/gridpp.rl.ac.uk/data/dteam/sc3/dr35_test-20050804-02
$ lcg-sd srm://dcache.gridpp.rl.ac.uk:8443/pnfs/gridpp.rl.ac.uk/data/dteam/sc3/dr35_test-20050804-02 " -2147246608" " -2147246607" 0
Derek
> -----Original Message-----
> From: Testbed Support for GridPP member institutes
> [mailto:[log in to unmask]]On Behalf Of Dr D J Colling
> Sent: 04 August 2005 14:37
> To: [log in to unmask]
> Subject: deleting files in RAL srm?
>
>
> Hi,
>
> I desperately need to delete some files that are on RALs
> dcache srm. I
> have tried using all the appropriate lcg commands and they
> are still there
> (although their registration in the RLS has gone). I need to
> delete them
> as I need to replace them with files of the same name.
>
> Is there anyway to delete these files? Anyway at all???
>
> All the best,
> david
>
|