- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: VMS Purge
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
08-26-2004 09:16 AM
08-26-2004 09:16 AM
VMS Purge
Al
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 12:30 PM
08-26-2004 12:30 PM
Re: VMS Purge
$ delete file.type;/created/before=today-30-00:00
Regards
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 05:44 PM
08-26-2004 05:44 PM
Re: VMS Purge
if there are multiple versions of the files, you will need to modify David's suggestion slightly:
$ delete file.type;*/created/before=today-30-00:00
I'd also suggest you "practice" with the DIRECTORY command first, just to make sure you're finding the right files:
$ DIRECTORY/DATE=CRE file.type;* /CREATED/BEFORE=TODAY-30-00:00
(handy that so many DCL utilities share the same qualifiers!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 06:42 PM
08-26-2004 06:42 PM
Re: VMS Purge
Welcome to VMS!
Like almost all VMS (DCL) commands:
Questions about what can be done, and what the exact syntax is, are splendidly answered by HELP
In your case:
HELP purge
and then, PURGE Subtopic: /SINCE (it is also quite educational to just go over the other qualifiers, and get a good impression of the various ways to steer to functionality in the direction that suits you best)
I think maybe HELP HELP is the best start.
Success
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2004 12:32 AM
08-27-2004 12:32 AM
Re: VMS Purge
Al
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2004 12:35 AM
08-27-2004 12:35 AM
Re: VMS Purge
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2004 12:56 AM
08-27-2004 12:56 AM
Re: VMS Purge
We use
DELETE/LOG/CREATED/BEFORE=-32-00 file.ext;*
Using 32 instead of 30 ensures the file makes it on to our end of the month backup tapes since some months of the year have 31 days. We perform daily backups (of course!) but the daily backup from the last day of the month is sent offsite and not rotated back in for at least a year.
Moral of the Story: Make sure your DELETE policy is in tune with your BACKUP policy.
Good luck,
Dan Herron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2004 01:55 AM
08-27-2004 01:55 AM
Re: VMS Purge
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2004 03:32 AM
08-27-2004 03:32 AM
Re: VMS Purge
Al