Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
shell script hard links
Name: Destruction Date: April 14, 2005 at 13:55:28 Pacific OS: Unix AIX CPU/Ram: 1 Gig
Comment:
I have a directory old and a directory new. The files in these directories are "hard" linked. When I get newer files...The new files are moved to the old directory and the files in the new directory are replaced with the newer files. However, I need to handle the hard links. The links point at the same physical memory. So shifting with the files from new to old and replacing the newer files with the new files in the new directory will mess up the "hard" links.
Anyone of you have an idea about how to handle this problem and to be sure that the links points to the files they have to point at???
Thanks in advance..And I really hope someone can help me out!
Summary: I'm a student, and I have a hard time completing this term assignment, if anyone could help me I would appreciate it very much. I did my best to do it but the output is not good. I use Win2000 Comma...
Summary: when i use $user or $USER in the shell script, it doesn't work, the code only worked when i actually hard code the users login name into the script. Am i doing something wrong. Sorry, I'm only a n00b ...
Summary: A script I am working on needs to process files returned from the find command. However, many of those files are hard links to other files, and should be excluded from our processing. How do we iden...