move/copy file by extension preserving directories hierarchy.

tizio incognito jeeglio at yahoo.it
Wed Oct 22 22:25:27 UTC 2014


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 *.pngsrc_dir dest_dir

dest dir
|
+- sub dir 1

|  +- file1.png

|  

+- sub dir 2

   +- file2.png


Thanks in advance
Daniele Giglio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20141022/5b0abab9/attachment.html>


More information about the mc mailing list