- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- A script require:
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
04-11-2004 07:35 PM
04-11-2004 07:35 PM
A script require:
1.Accept a date
2.From the directory where the script is being run, Move all files which mathes with the accepted date to different directory location.
3.Archive those moved files to a tar format file
4.gzip the tar file.
Validation checks in the script:
1.Accepted date should be present in the directory in the form of a file.
2.Accepted date should not be a current system date and the date should be a date 3 days older than the current system date.
If either/both the validation checks fails the script should be run again with a proper message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2004 11:58 PM
04-11-2004 11:58 PM
Re: A script require:
Start with man find -- look at "mtime" and "-exec" to action on the files the tar/gzip.
Also search the forum for "date hammer" it may be useful to you.
Many forum member could write this script for you but I feel that at least an attempt should be made by you.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2004 12:02 AM
04-12-2004 12:02 AM
Re: A script require:
Please assign points to those members who have assisted you in the past.
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1027628&listType=question&forumId=1
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2004 12:05 AM
04-12-2004 12:05 AM
Re: A script require:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=547749
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2004 12:27 AM
04-12-2004 12:27 AM
Re: A script require:
Thanks for that. Are you working or just surfing?
Paula