06-23-2006
Instead of making symbolic links to the directories, how about making symbolic links to the files? When you need to modify a file, delete the link and make it real copy instead.
9 More Discussions You Might Find Interesting
1. Programming
Hi mates,
I am trying to copile and link to C programs with command:
cc file1,file2
but i raises the error "file not found" ... am i doing the right way?
any suggestion will be appreciated.
thanks
abdul (4 Replies)
Discussion started by: abdul
4 Replies
2. Programming
Hi
I'm getting
ld: fatal: option -h and building a dynamic executable are incompatible
ld: fatal: Flags processing errors
When I run
ld -shared -L/usr/dt/lib -lDtSvc -o builtin.so Workspace.o
after running
gcc -fPIC -I/usr/X11R6/include -I/usr/dt/include -c Workspace.c
I'm... (6 Replies)
Discussion started by: laho
6 Replies
3. UNIX for Dummies Questions & Answers
Hello,
Can anyone tell me how I can make a file link or shortcut in UNIX 4.0, several
file links where damaged during an outage examples below.
Examples: file -> file
libX11.so -> /usr/shlib/libX11.so.pre.O3D
All of the file links that were damaged were in /shlib and point to... (3 Replies)
Discussion started by: jays337
3 Replies
4. Programming
Dear friends,
First off all , let me apologize for my inexperience. I am just starting use of Linux and gcc .
Actually I ve some .c files in the present directory , and now I am
giving
+vc <my_file1.c> <my.file2.c> <myfile3.c>.
All the c files are in present directory.... (2 Replies)
Discussion started by: user_prady
2 Replies
5. Shell Programming and Scripting
I used to program ksh a while back, but I've been off in Oracle/Windows land (for clients -- not by choice) for so long that I can't remember what should be an easy thing. Here's the scenario:
1)Find all files and directories beneath some directory point (A).
2)If directory, make the... (7 Replies)
Discussion started by: scyphers
7 Replies
6. Solaris
i have two doubts..
1. what is the use /etc/project file. i renamed this file and when i tried to switch user or login with some user account the login was happening slowly. but when i renamed it to original name it was working fine... why so?
2. unix already has useradd and grouadd for... (4 Replies)
Discussion started by: chidori
4 Replies
7. Shell Programming and Scripting
this is what i have to find the files modified within the past 24 hours
find . -mtime -1 -type f -print0 | xargs -0 tar rvf "$archive.tar"
however i need to save/name this archive as the current date (MM-DD,YYYY.tar.gz)
how do i doo this (1 Reply)
Discussion started by: bugenhagen_
1 Replies
8. Shell Programming and Scripting
I have 2 txt files, 1.txt and 2.txt which contain the paths to files that need to be linked.
Example 1.txt:
/root/001/folder2/image4.nii.gz
/root/002/folder2/image4.nii.gz
Example 2.txt:
/root/001/folder2/image5.nii.gz
/root/002/folder2/image5.nii.gz
Each line represents images from... (7 Replies)
Discussion started by: LeftoverStew
7 Replies
9. Programming
Basically my problem is that when I try to compile anything using ./configure && make, it fails because of linker errors. I can reproduce the behavior I'm getting as follows:
I have the two following files
main.c:
#include <stdio.h>
extern void func(void);
int
main(int argc, char... (5 Replies)
Discussion started by: MarshallBanana
5 Replies
LEARN ABOUT SUSE
build-jar-repository
BUILD-JAR-REPOSITORY(1) User Commands BUILD-JAR-REPOSITORY(1)
NAME
build-jar-repository - create a symbolic link to a JAR
SYNOPSIS
build-jar-repository [OPTION]... DIRECTORY... JAR
DESCRIPTION
Build a JAR repository in the named directory by copying files or creating symbolic links
OPTIONS
If no option is specified the default action will be to create symbolic links
-c, --copy
copy files
-h, --hard
create hard links
-p, --preserve-naming
try to preserve the names of the original JAR files (in case of a nested hit the slashes in the path will still be replaced by
underscores)
using this option makes any future automated repository rebuild impossible, and implies -c unless specified otherwise
-s, --soft, --symbolic
create symbolic links (default)
--help
display help text
EXAMPLES
build-jar-repository . jndi
will create a symbolic link to the JNDI JAR in the current working directory
build-jar-repository -h /tmp oro
will create a hard link to the ORO JAR in /tmp
AUTHOR
Written by Nicholas Mailhot and David Walluck
REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/)
build-jar-repository (jpackage-utils) 1.7.0 March 2006 BUILD-JAR-REPOSITORY(1)