11 June, 2025

Copy all .docx files in subfolders to a certain directory

Case: 

My students hand in dissertations as .pdf files and my notes to exam are written in the Microslows Word. Now I want to have all files in one place in order to print them out.


Solution:

Do thus:

# cp -r */*.docx NAME-OF-DIR/

if that be your will.


No comments: