Print

Print


Hi,
In the end I managed to delete the folders with spaces using fuse mount 
and the normal rm -rf command.
Andreas, the eos rm command did not work for me as I tried to say in my 
previous email.

Cheers,
Alex


On 02/19/2013 05:56 PM, Andreas-Joachim Peters wrote:
> Hi,
> you can do this f.e. like this:
>
> bash-3.2$ eos --role 27107 1307 ls -la 
> "/eos/atlas/atlascerngroupdisk/tdaq-opmon/pbeast-data/ATLAS/DFM/timeout events/"
>
> This does not work with 'xrd' ....
>
> Best is to do a find like:
> eos find  "/eos/atlas/atlascerngroupdisk/tdaq-opmon/"
>
> and then you either delete the files with spaces
>
> eos rm "/eos/............/a b c "
>
> or copy them to same valid name.
>
> You can access the files with xrdcp and quoted URL but you cannot use 
> the xrd command only the eos shell to delete or list them.
>
> Cheers Andreas.
>
> On Tue, Feb 19, 2013 at 5:31 PM, Alexandru Dan Sicoe 
> <[log in to unmask] <mailto:[log in to unmask]>> wrote:
>
>     Hello,
>     We have accidentally created about 39 directories which contain
>     empty spaces in EOS.
>     We successfully used *xrdcp* to copy the files from these
>     directories into properly encoded directory names.
>     There is however a problem deleting files from directories with
>     spaces.
>
>     When I try:
>     xrd asicoe@eosatlas rm
>     "root://eosatlas//eos/atlas/atlascerngroupdisk/tdaq-opmon/pbeast-data/ATLAS/DFM/Averaging
>     time for rates/1357171200.604799.zip"
>
>     I get:
>     Error 3011: Unable to remove
>     /root:/eosatlas/eos/atlas/atlascerngroupdisk/tdaq-opmon/pbeast-data/ATLAS/DFM/Averaging;
>     No such file or directory
>     The command returned an error.
>
>     I see there is the same problem with listing directories with
>     spaces (https://savannah.cern.ch/bugs/?99283)
>
>     How can I delete the files in directories with spaces and then the
>     directories themselves?
>
>     Thanks for the help,
>     Alex
>
>     P.S.
>
>     (1) I tried the eos commad and it doesn't work either (no surprise).
>     (2) What's a bit confusing is that while typing a path with an
>     illegal argument once, I received an error report stating that
>     SPACE is among the allowed characters:
>
>             Error 3005: Unable to accept path name - illegal
>     characters - use only A-Z a-z 0-9 / *SPACE* .-_~#:^
>
>     (3) I am using Xrootd version: v3.2.2
>
>     ------------------------------------------------------------------------
>
>     Use REPLY-ALL to reply to list
>
>     To unsubscribe from the XROOTD-L list, click the following link:
>     https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
>     <https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1>
>
>


########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1