Download Manager Query
loic.grenie at gmail.com
Sat Jan 30 21:31:34 UTC 2010
2010/1/30 Karl F. Larsen <klarsen1 at gmail.com>:
> Leonard Chatagnier wrote:
>> When one downloads a duplicate copy of an app into the same folder, DM
>> add a "(2)" to the end of the filename and before any extension. That's
>> good, I think, but you can no longer operate on the file, rename it or
>> execute it. I would like to execute the last downloaded file instead of
>> the older one, even though they are identical except for naming but
>> can't seem to do that. The error output is:
>> mv ubcd411(2).iso ubcd411.2.iso
>> bash: syntax error near unexpected token `('
>> I expect if I had tried to burn it, I would get a similar error.
>> Any one know how circumvent the issue? thanks for the help.
> Try sudo mv and see if that works.
No, absolutely not !
The problem is that '(' is a special character for bash.
mv ubcd411\(2\).iso ubcd411.2.iso
it should work.
Hope this helps,
More information about the ubuntu-users