The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
tar the symbolic link ganga.dharan Shell Programming and Scripting 1 05-23-2008 08:11 AM
need some info about symbolic link and hard link detective linux UNIX for Dummies Questions & Answers 2 01-08-2008 07:36 AM
[help] about symbolic link solaris 8 bucci SUN Solaris 1 10-12-2006 07:30 AM
How do I delete a symbolic link? ranit UNIX for Dummies Questions & Answers 3 04-21-2005 03:12 PM
symbolic Link bhargav UNIX for Dummies Questions & Answers 1 10-15-2004 10:41 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-12-2001
andrec andrec is offline
Registered User
  
 

Join Date: Jul 2001
Location: US
Posts: 25
Question get symbolic link file

hi all,

I am trying to ftp and get some symbolic link file as it is instead of getting whatever it is pointing at. Is it do-able?

Thx in advance.
  #2 (permalink)  
Old 11-12-2001
doeboy's Avatar
doeboy doeboy is offline
Registered User
  
 

Join Date: Oct 2001
Location: Here
Posts: 137
Hmm... I don't believe that's possible.

Why would you want to do that in the first place? You could just make one of your own symbolic links pointing to the same thing or whatever else you want it to point to.
  #3 (permalink)  
Old 11-12-2001
andrec andrec is offline
Registered User
  
 

Join Date: Jul 2001
Location: US
Posts: 25
Thx for your reply.

I am ftp'g a directory. There are "symbolic link" files in there that point to files under the same directory tree. If I can't just download the LINK only, I will ftp some files twice. They are big. Therefore, I am trying to see if there is any trick to avoid that from happening.
  #4 (permalink)  
Old 11-13-2001
doeboy's Avatar
doeboy doeboy is offline
Registered User
  
 

Join Date: Oct 2001
Location: Here
Posts: 137
You could just transfer the file once, and make your own symbolic link on your own system to point to that file. It would save time and save bandwidth and lots of hard drive space if these files are really huge.
  #5 (permalink)  
Old 11-13-2001
rwb1959's Avatar
rwb1959 rwb1959 is offline
Registered User
  
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
You might consider using tar (on the remote)
to first bundle all the files in the directory
you want to get. By default, tar ignores
symbolic links. You can use rsh (or somthing)
to execute tar on the remote. Now you can
ftp just the tar-ball and you have only
the files.
  #6 (permalink)  
Old 11-13-2001
doeboy's Avatar
doeboy doeboy is offline
Registered User
  
 

Join Date: Oct 2001
Location: Here
Posts: 137
I believe that by default tar takes symbolic links and restores them when you untar it as well. That might get you what you wanted.

(I was thinking you were ftping from a box that you didn't have shell access to so tarring up the directory didn't come to mind)
  #7 (permalink)  
Old 11-13-2001
rwb1959's Avatar
rwb1959 rwb1959 is offline
Registered User
  
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
Correct doeboy. The use of the word "ignore"
was wrong. What I should have said is that
by default tar will not "follow" symbolic links.
It does in fact store and recreate them
when unbundled.

Sorry for the confusion.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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




All times are GMT -4. The time now is 11:39 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0