Move multiple files in different directories into a new folder

Issue

This Content is from SuperUser. Question asked by Taborniau

I am facing a problem moving multiple files from different folders to one single folder.

All my files are ending with .las and are located in a path like this : e:LiDAR%%%%LIDAR*, where %%%% is a serie of 4 numbers like 0950, and where LiDAR* is the beggining of all the different folder names containing the .las files.

Here’s an exemple of path of one of the .las file :

E:LiDAR950LIDARHD_1-0_LAZ_PK-0950_6535-2021Semis_2021_0950_6535_LA93_IGN69.las

I want to move all those files to a folder I created, here is its path :

E:LiDARLas_files

Here’s the command line I tried but it’s not working :

E:>move e:LiDAR%%%%LIDAR**.las e:LiDARLas_files

I would be happy if someone can help me : )



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from SuperUser , is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?