zfs partial delete

Ask about System customization & performance, Workload management, I/O device configuration etc.
mehi1353
Posts: 40
Joined: Sun Jan 11, 2009 4:51 pm
Skillset: Ims V7R1
Referer: Searching in Google

zfs partial delete

Postby mehi1353 » Fri Feb 25, 2022 7:11 pm

Hi all,

in a zfs file system, how could I delete old subdirectories and files automatically (command or job based)?

I want to remove all "before 2022" subdirectories and files, from a working zfs file system in z/OS V2R3.


Thanks in advance
mehrdad

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

Re: zfs partial delete

Postby Robert Sample » Fri Feb 25, 2022 7:42 pm

Look up skulker in the Unix System Services Command Reference manual. You could set up a cron job to run it automatically.


  • Similar Topics
    Replies
    Views
    Last post