Question : how to create folder while moving file linux
Answered by : happy-horse-8fyvribe3716
mkdir --parents ./some/path/; mv yourfile.txt $_
Source : https://stackoverflow.com/questions/547719/is-there-a-way-to-make-mv-create-the-directory-to-be-moved-to-if-it-doesnt-exis | Last Update : Sat, 23 Jul 22