- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- search for folders not modfied since a fixed date ...
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
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
тАО10-19-2006 06:38 AM
тАО10-19-2006 06:38 AM
I have OpenVMS 7.3-2
I am trying to write a script which searches for folders not modified since a fixed date. All the accounts have fixed location of these folder
disk55:[Acct1.data.XXXXXX.FolderXXX]
Now each account has a logical disk55 , and folder name "data". The only thing different
XXXXXXX.FolderXXX where both these folders designate numbers
e.g
disk55:[Acct1.data.000001111.000222]
disk55:[Acct1.data.000001111.000223]
disk55:[Acct1.data.000001114.000229]
.
.
.
Now I need to make a list of FolderXXX
which have not been modified and then add all the disk space in the those folder ?
What is the best way of going about doing so...
I am considering F$search but would like to know if there are more options and ideas...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2006 07:03 AM
тАО10-19-2006 07:03 AM
SolutionYou can use dir/sin
$ DIRECTORY/MODIFIED/SINCE=14-DEC-1998:01:30 -
disk55:[Acct1.data...]
to produce a list.
What are trying to do with this list. DCL support the same option in BACKUP and DELETE for example.
See the DCL Dictionary and the OpenVMS User's Manual at http://h71000.www7.hp.com/doc/
Andy
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2006 12:25 PM
тАО10-19-2006 12:25 PM
Re: search for folders not modfied since a fixed date and estimate the disk space
For now I simply want to make a list and also be aware of the disk space used.
So I was not considering backup or delete commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2006 02:49 PM
тАО10-19-2006 02:49 PM
Re: search for folders not modfied since a fixed date and estimate the disk space
file_spec, "RDT") to get the revision
date-time. F$DELTA_TIME() can compare the
file's date-time with a time you supply. You
may need F$CVTIME( your_time, "ABSOLUTE") to
get your time into the proper format. Then,
probably, DIRECTORY /GRAND_TOTAL /SIZE = xxx
to get the disk space.
You'll probably need to convert between the
"[Acct1.data.000001111.000222]" form and the
"[Acct1.data.000001111]000222.DIR;1" form.
I'd be spending a lot of time with HELP
LEXICAL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2006 09:34 PM
тАО10-19-2006 09:34 PM
Re: search for folders not modfied since a fixed date and estimate the disk space
http://www.openvms.org/stories.php?story=06/10/15/3654351
for information on the latest version.
Purely Personal Opinion