LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   howto mv a set of subdirectories to an other directory? (https://www.linuxquestions.org/questions/linux-general-1/howto-mv-a-set-of-subdirectories-to-an-other-directory-193201/)

Lleb_KCir 06-13-2004 11:22 PM

howto mv a set of subdirectories to an other directory?
 
the title basicaly says it all. some how i goofed and in the proccess of mv a few files around i moved my entire web page into one of its subdirectories. im trying to get things back to normal, but i have no clue how i mv a directory into an other?

things i have tried

Code:

mv * /var/www/html/*
that succeeded in moving all of the files around, but left the directories that belong in /var/www/html

now they are still in /var/www/html/video i want to move them all back to /var/www/html.

sorry for the really stupid newbie problem. i am very sure it is just a simple arg. that i am missing, or a lack of understanding the mv command.

thank you for the help.

Lleb_KCir 06-13-2004 11:33 PM

well i figured out a slow way to do it 1 directory at a time, but would still love a shortcut to moving all of those directories at 1 time. if there is such a way.


All times are GMT -5. The time now is 11:49 AM.