How To Create Folder While Moving File Linux

[Solved] How To Create Folder While Moving File Linux | Perl - Code Explorer | yomemimo.com
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

Answers related to how to create folder while moving file linux

Code Explorer Popular Question For Perl