I’m new to this and I’m having trouble with a terminal script that should work on Windows. It’s supposed to find all the files with a specific extension in a directory and its subdirectories and move them to a different directory. But it doesn’t work.

find ./ -name '*.xlsx' -exec cp -prv '{}' \Documents\...' ";"

Is there a way to do the same thing with MATLAB or some other method in Windows script? I want to combine all the data from these xlsx files into one file. I appreciate any help you can give me.

Askify Moderator Edited question April 27, 2023