I appreciate that I am coming to this thread very late and you seem to have some very qualified expert help here already. Therefore, I think this is likely to be my only post on this thread. However, I would like to contribute the following notes:
1. You are confusing filename and path. In
/a/b/c/xyz, the
/a/b/c is the path and
xyz is the filename. The leading
/ means the path starts from the top of the system.
2. Without the leading
/ the path starts from the directory you are currently in, ie, there is a directory
a pre-existing, with a
b directory under that pre-existing, and a
c directory under that pre-existing.
Quote:
Originally Posted by
scribling
mv ./bla ../fa/la/.bla - doesn't work. I've tried all sorts of bracketing and that doesn't work.
I don't think you have told us all what OS you are using but it's unlikely that your (failing) 'mv' command is capable of creating the directories 'fa' and 'la' whilst moving the file. I think your destination path MUST pre-exist before you issue your 'mv' command.
I just wanted to make that point. That may, or may not, be your issue.