Subscribe to How-To Geek

Move Files From Subdirectories to Current Directory

From HowToGeek

Jump to: navigation, search

If you've got a whole bunch of files in a set of subdirectories, and you'd like to move them to the current directory, you can do it easily with a single command.

Just use this command, substituting your file extension for ".ext" (or omit altogether to move them all at once)

mv **/*.ext .

 

Our Friends
Getting Started
About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
Cmd.exe
Dpupdchk.exe Adobe_Updater.exe

All content on the How-To Geek Wiki is licensed under a Creative Commons License