Copy Files in Batches using Search Terms

Copy files matching search terms, from sub-directories matching search terms into a new directory.
298 Downloads
Updated Thu, 22 Mar 2012 17:09:47 +0000

View License

Tristan Ursell
File accumulator
March 2012

This function is a command line program that copy all the files in a set of sub-directories whose file names match a given set of search terms, into a new directory. The new directory's name can be specified or automatically generated. The copied files will retain their old name structure, except the sub-directory name from which they originated will be appended onto the name.

Follow the command-line instructions. File name search terms can not include single quotes. Search terms preserve spaces between words, hence do not include spaces that are not there, and are case sensitive.

Cite As

Tristan Ursell (2024). Copy Files in Batches using Search Terms (https://www.mathworks.com/matlabcentral/fileexchange/35817-copy-files-in-batches-using-search-terms), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on File Operations in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0