Possible Duplicate:
Réutiliser du texte sur une commande bash
If I want to rename a file a few directories deep, how can I avoid repeating the path?
For example:
mv path/to/old_filename.txt path/to/new_filename.txt
I'm wondering if there's a way to make this:
mv path/to/old_filename.txt (?)new_filename.txt
Where (?)
would be some way of saying "in the same directory."