Wednesday, January 19, 2011

move sub directories up one level to root in linux

Hi

I have a directory structure like this:-

/root/directory/subdirectory1
/root/directory/subdirectory2
/root/directory/subdirectory3
/root/directory/subdirectory4

I need all subdirectories to move up 1 level so they are off the root, can someone please help me with the correct syntax from a shell prompt please.

Thanks

Jonathan

0 comments:

Post a Comment