Menu

#28 Filenames with backticks can't be moved

open
5
2002-05-16
2002-04-30
Anonymous
No

the finished directory: /home/gimli/music already exists
between check, from: /home/gimli/.OpenAG/temp/miss
kittin - je `t aime moi non plus.mp3
to:miss kittin - je `t aime moi non plus.mp3
test: miss kittin - je `t aime moi non plus.mp3
sh: t: command not found
mv: missing filename
Try `mv --help' for more information
move failed
Download complete, but there was an unhandled error
moving it to the completed downloads directory. PLEASE
REPORT THIS ERROR.

A simple s/\`/\\\`/ should do the trick, don't have the
time to make a patch atm.

Discussion

  • Eric Seidel

    Eric Seidel - 2002-05-16

    Logged In: YES
    user_id=151346

    Ok... So I'm looking to understand here....

    Your suggested patch is that I search through the string
    replacing every instance of ` with \`, is that correct?

    Currently I just "" the filename and pass it to mv...
    although I think I'm going to change that under OSX/
    Darwin anyway.

    Thoughts?

    -eric

     
  • Eric Seidel

    Eric Seidel - 2002-05-16
    • assigned_to: nobody --> macdome
     

Log in to post a comment.

MongoDB Logo MongoDB