- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: change date time of file
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
Forums
Discussions
Discussions
Discussions
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
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
06-24-2005 05:57 AM
06-24-2005 05:57 AM
change date time of file
Actually i want to change the date and time of one file .how can i do this one.is it possible .
waiting for the rply
Thanks & regards
karan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 06:00 AM
06-24-2005 06:00 AM
Re: change date time of file
MM 2 digit month
DD 2 digit day of the month
hh 2 digit hour military format 00-23 range
mm 2 digit minute 00-59 range
ss 2 digit seconds 00-59 range [optional]
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 06:01 AM
06-24-2005 06:01 AM
Re: change date time of file
i.e.,
touch MMDDhhmm[.ss] filename
{trying to cut down coffee here}
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 06:14 AM
06-24-2005 06:14 AM
Re: change date time of file
but file has already created . i dont want to create a new file .i want to modify the already crreated file.
thanks & regards
karan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 06:28 AM
06-24-2005 06:28 AM
Re: change date time of file
# man touch
for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 03:09 PM
06-24-2005 03:09 PM
Re: change date time of file
Devesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2005 01:19 AM
06-25-2005 01:19 AM
Re: change date time of file
root@test /tmp/test> ll
total 2
-rw-rw-rw- 1 root sys 1000 Jun 25 21:17 myfile
root@test /tmp/test> date
Sat Jun 25 21:17:57 EAT 2005
root@test /tmp/test> touch 04300000 myfile
root@test /tmp/test> ll
total 2
-rw-rw-rw- 1 root sys 1000 Apr 30 00:00 myfile
root@test /tmp/test>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2005 01:50 PM
06-26-2005 01:50 PM
Re: change date time of file
#touch filename