- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- create a symbolic link with same timestamp as targ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2009 02:40 AM
тАО01-24-2009 02:40 AM
create a symbolic link with same timestamp as target
I'm facing an issue with symbolic links and timestamps. It is not possible to change the timestamp of a symlink, but is there any way to create a symbolic link with same timestamp as the target file?
I really hope you can help me out!
Cheers,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2009 06:17 AM
тАО01-24-2009 06:17 AM
Re: create a symbolic link with same timestamp as target
the program to use. However, Google found:
http://www.nabble.com/Touch-symlink-td4093016.html
which seemed to be discouraging.
Why do you care?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2009 06:42 AM
тАО01-24-2009 06:42 AM
Re: create a symbolic link with same timestamp as target
Now all photo's in the gallery are displayed with the wrong timestamp (the timestamp of the symlinks) which is rather annoying.
I create the symlinks with a script and I'm considering using a 'date' function to change the system time before creating the link, but that's not the most beautiful solution.
I have searched for a solution before, but did not find the answer. I thought that maybe the gurus at itrc might could hand an/THE option/workaround/solution.
Cheers,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2009 10:11 AM
тАО01-24-2009 10:11 AM
Re: create a symbolic link with same timestamp as target
Maybe another option, like hard links, or loop mounting the file system may help. ├В┬┐Have you considered an alternate solution to your requirement?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2009 12:12 PM
тАО01-24-2009 12:12 PM
Re: create a symbolic link with same timestamp as target
So I finally found a disadvantage for Linux huh?
Well, since changing the timstamp of a symbolic link isn't an option, I guess hard links are the only option to do the trick.
Does anyone have a little script for lazy me to covert all existing symbolic links to hard ones?