Jump to content

Move an entire directory

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Guest_C3P0_*

Guest_C3P0_*
  • Guests
Thought someone might find this interesting... How to move an entire directory in Linux

mkdir target_directory
cd source_directory
cp -ap . target_directory

Easy!

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Nice tip, thank you!