I know its a big classical but I didn't found the exact situation that concerns me
I need a mkdir+mv command that can be invoked like that :
mvdir /home/user/Documents/irs.pdf /mnt/work/45/223/insight/irs1970.pdf
Exactly like a normal mv command works, just with a creation of path instead of a no such file or directory
Considering that work/45/223/insight/ doesn't exist and need to be created
All other command that I've found can't be invoked like that, needs some more informations, need to distinguish the path and file ourself, or something
Attempt: mkdir -p /mnt/work/45/223/insight && mv /home/user/Documents/irs.pdf /mnt/work/45/223/insight/irs1970.pdf