Cynosure.X International

: :

Add Comment | Related Links | TrackBack
Related Content

DereferenceSymbolicLink.sh (GPL)

DereferenceSymbolicLink.sh is a Bourne shell script that accepts a symbolic link path name and returns the actual path that is referenced by the link.

DereferenceSymbolicLink.sh is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.

Usage

DereferenceSymbolicLink.sh "link path"

Attached File: DereferenceSymbolicLink.sh (525 B)

Chieh Cheng
Tue, 16 Dec 2008 23:20:25 +0000

Made an improvement to "DereferenceSymbolicLink.sh". In the previous release, the script fails to dereference symbolic link if the resulting file or directory is not a symbolic link itself, but only contains a symbolic link within its path. In this new version, "DereferenceSymbolicLink.sh" has the ability to dereference file and directory path that contains one or more symbolic links within its path.

This new version of "DereferenceSymbolicLink.sh" takes advantage of the following UNIX shell script, which is also available on this site. So to use the this new version, you will need to download this other script if you don't already have it.

IsSymbolicLinkInPath.bash

Attached File: 1 - DereferenceSymbolicLink.sh (633 B)

Chieh Cheng
Fri, 29 Mar 2013 02:16:25 +0300

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

TrackBack

Send Ping | TrackBack URL | Spam Control

Title: Is Symbolic Link In Path (GPL)
Weblog: Cynosure.X International
Excerpt: IsSymbolicLinkInPath.bash is a Bourne-again shell script that accepts path on its command-line argument and tells you whether there is a symbolic link anywhere in the path. This script returns the value '1' when it finds one or more links in the path. It returns the value '0' when no links are found . . .
Tracked: Fri, 29 Mar 2013 02:17:52 +0300

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 4 - 9?
Click button only once, please!

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

15 Users Online

Hacking Digital Cameras
Fun for Photographers


Amazon Associate

Copyright © 1996 - 2017. All Rights Reserved.