Hi Simon, in this case, the use case is simply mapping the old gfal-commands to new dirac-commands for a quick and dirty implementation of DIRAC in the T2K Data Manager. But I am sure that it would be useful to have this kind of command for all kinds of automated scripts involving file transfers and DIRAC. Cheers Lukas Am 14/11/2018 um 09:58 schrieb Simon Fayer:
Hi Lucas,
What's the use case for this? Unfortunately there isn't really a plain ls tool in DIRAC at the moment.
Regards, Simon
On Tue, Nov 13, 2018 at 05:56:16PM +0000, Lukas Koch wrote:
Hi Daniela,
almost. A non-recursive version would be handy. Right now I am improvising one like this:
$ echo "ls /t2k.org/some/path/" | dirac-dms-filecatalog-cli
with some output clean up afterwards. It's not pretty, but it works. For now.
Cheers Lukas
Am 13/11/2018 um 17:14 schrieb Daniela Bauer:
Hi Lucas,
is this what you are looking for ? dirac-dms-find-lfns Path=/t2k.org/user (it's recursive though).
regards, Daniela On Tue, 13 Nov 2018 at 16:57, Lukas Koch <lukas.koch@stfc.ac.uk> wrote:
Hello again,
this feels like a stupid question, but is there any way to list the files of the DFC *outside* the dirac-dms-filecatalog-cli? That is, I want a list of files and folders inside a known directory, without any interactive stuff going on. I cannot seem to find the right command for that.
Cheers Lukas
-- Lukas KOCH Particle Physics Department STFC Rutherford Appleton Laboratory Mail: lukas.koch@stfc.ac.uk Tel: +44 (0) 1235 44 x6265
-- _______________________________________________ Gridpp-Dirac-Users mailing list Gridpp-Dirac-Users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/gridpp-dirac-users
-- Lukas KOCH Particle Physics Department STFC Rutherford Appleton Laboratory Mail: lukas.koch@stfc.ac.uk Tel: +44 (0) 1235 44 x6265