If you’re like most people, you probably have a lot of files scattered all over your computer. Maybe you have a folder for your work files, one for your personal photos, and another for your downloads. It can be really hard to keep track of all of these files and folders, especially if you want to move them somewhere else on your computer. In this article, we’re going to show you how to move files into one directory in Linux using the find command. This is a really easy way to organize your files and make it easier to find what you’re looking for. ..

Usage

Run this command from the root directory of where you want to find the files. For instance, if you wanted to find all .zip files from any subdirectory under /home and move them into the /backup directory, you would use the following command:

This would move all the files into the same directory, so any files that were duplicated would be overwritten. Note that the subdirectories would not be copied, just the files.