Artificial intelligent assistant

Finding all WAV files of multiple directories and copying them to local computer from server I have a Linux server where the directory structure is Mainfolder1/folder2/firstfile.wav /folder3/secondfile.wav /folder4/thirdfile.wav Mainfolder2/folder1/fourthfile.wav Now, what I want is to search all .wav files and copy those using `sz` command in my local windows machine.

find /Mainfolder1 /Mainfolder2 -iname \*.wav -exec sz {} \;


will execute `sz ` for each matched file, run it without -exec first to see which files it finds, so that you can check the list of file before running it for real.

I see sz can read filenames from stdin so this might be more efficient, `find /Mainfolder1 /Mainfolder2 -iname \*.wav | sz - `

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy d68a39190d6cfc01e7a322ffb567e057