4 ms·
I just tried qmv, briefly. I couldn't figure out how to move files to a different directory, and create that directory if it does not exist. Let's say I do:
by kaushalmodi 9y ago
I just tried qmv, briefly. I couldn't figure out how to move files to a different directory, and create that directory if it does not exist.
Let's say I do:
qmv a.txt
And I get this in qmv:
a.txt a.txt
This does not work:
a.txt foo/a.txt
I was expecting qmv to create the foo/ directory if it does not exist. Even if it exists, it does not work.
Do you know if this works? If it does, how do I do it?
- farresito 9y agoIt works for me if the directory exists.
- kaushalmodi 9y agoSorry, I was mistaken. I confirm that that works too. I was just comparing with wdired.. wdired (Emacs) creates that foo/ dir if it doesn't exist.