Bobby_Jo
07-22-2003, 11:04 PM
This is a very stupid question, but how do I move the contents of a folder to another folder in Linux? I don't want to move the folder itself, just the stuff in it.
![]() | View Full Version : Moving Folder Contents Bobby_Jo 07-22-2003, 11:04 PM This is a very stupid question, but how do I move the contents of a folder to another folder in Linux? I don't want to move the folder itself, just the stuff in it. luki 07-23-2003, 12:37 AM In shell (SSH) enter this: cd old_folder_name mv * /path/to/other/folder You can also move specific files such as *.php or *.html (use mv *.php ...) Bobby_Jo 07-23-2003, 02:20 AM Thanks, that worked great. My next question: I need to search a folder and all it's subdirectories and delete a file called bob.htm in all of them. How would I do this? |