开发者

recursive copying of filenames but not their content

开发者 https://www.devze.com 2023-01-26 03:27 出处:网络
I want to recursively copy a directory (with sub-directories and files). This can be easily done using xcopy. But with regard to files, I only开发者_StackOverflow want their names (something \"touch\"

I want to recursively copy a directory (with sub-directories and files). This can be easily done using xcopy. But with regard to files, I only开发者_StackOverflow want their names (something "touch" could do in Linux) and not their content, the reason being the files are large and I am doing processing only on the filenames and not in their content. Any suggestions for a program/script for this task?


Use Gnuutils and find -exec touch?

0

精彩评论

暂无评论...
验证码 换一张
取 消