Skip to content
Discussion options

You must be logged in to vote

Hi,

If the directory is empty, please try this script from a DIRAC UI with suitable credentials (I'm not aware of any existing command line tool that can delete a directory containing a space):

#!/usr/bin/env python
from DIRAC import initialize
initialize()
from DIRAC.Resources.Catalog.FileCatalog import FileCatalog
fc = FileCatalog()
print(fc.removeDirectory("/juno/esd/reprod/J25.4.2/Reprod_test # ReProd_J25.4.2_v1 # runXXXtoXXX"))

Regards,
Simon

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zhangxiaomei
Comment options

Answer selected by aldbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants