move/copy file by extension preserving directories hierarchy.



I don't know if it has benn already asked, but it could be a nice feature the possibility to move/copy files recursively by extension preserving the directory structure. I'll better explain by an example:

src dir
|
+- sub dir 1
|  +- file1.png
|  +- file1.jpeg

+- sub dir 2
   +- file2.png
   +- file2.jpeg

command: move_by_ext *.png src_dir dest_dir

dest dir
|
+- sub dir 1
|  +- file1.png

+- sub dir 2
   +- file2.png

Thanks in advance
Daniele Giglio


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]