Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Duplicate a server directory?
Old 03-27-2004, 03:13 AM Duplicate a server directory?
Novice Talker

Posts: 13
Location: Cleveland, Ohio USA
Trades: 0
How is it possible to duplicate (and rename) a directory while still on the server?
  • With ftp I can delete, rename, etc. but can't seem to copy/duplicate.
  • Can this be done with SSH Unix? If so, what are the commands?
  • Is there a particular application that offers this function? Some other way?

I know one can download the entire directory then rename and upload it but I'd prefer not to for obvious reasons.

Thanks for any help.
MacNeticM is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-27-2004, 03:50 AM
thesawmillguy's Avatar
Skilled Talker

Posts: 57
Location: Augusta, ME
Trades: 0
Are you wanting to do this and still keep the server actively online?

Are you running Linux or Unix? I am assuming by your post that it's some form of *nix.
thesawmillguy is offline
Reply With Quote
View Public Profile
 
Old 03-27-2004, 03:50 AM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
You should be able to do it via SSH. Try:


Code:
cp -R /path/to/original /path/to/new
OR...

Code:
cp -a /path/to/original /path/to/new
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
techwench is offline
Reply With Quote
View Public Profile
 
Old 03-27-2004, 04:36 AM
Novice Talker

Posts: 13
Location: Cleveland, Ohio USA
Trades: 0
<Are you wanting to do this and still keep the server actively online?>

Preferably, but not necessarily.

Running Linux.
MacNeticM is offline
Reply With Quote
View Public Profile
 
Old 03-27-2004, 05:30 AM
thesawmillguy's Avatar
Skilled Talker

Posts: 57
Location: Augusta, ME
Trades: 0
beyond what prissed said, I am not really sure. A freind of mine runs a Linux server, but I am not sure how he moves files around. I believe it is by downloading and reuploading.

Beyond that I dont know if something like DriveImage, or similar products would do what you need (providing they are compatible with Linux)..
thesawmillguy is offline
Reply With Quote
View Public Profile
 
Old 03-27-2004, 07:21 PM Why can't I view the suggested code?
Novice Talker

Posts: 13
Location: Cleveland, Ohio USA
Trades: 0
Thanks for your responses.

To change the subject for a moment, does anyone have any idea why the code suggested above by "prissed" is not viewable to me in my browser?

I can see it if I "view source" but in normal view the code box is empty.
MacNeticM is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Duplicate a server directory?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19347 seconds with 12 queries