- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- create a symbolic link with same timestamp as targ...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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?
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP