Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux General

Linux General Any questions that are not covered by other forums go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-20-2007, 11:50 PM
C3P0
Guest
 
Posts: n/a
Default Move an entire directory

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!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 03-22-2007, 05:55 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 570
Jordan is on a distinguished road
Default

Nice tip, thank you!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
tar entire directory Prog Linux General 3 07-20-2007 06:37 PM
Directory index forbidden by rule Wanch Linux Networking 1 06-22-2007 11:23 PM
Howto: Find the largest directory/file in a directory ptt3 Linux General 4 05-28-2007 10:08 PM


All times are GMT. The time now is 05:45 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.