zfs partial delete



Ask about System customization & performance, Workload management, I/O device configuration etc.

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
mehi1353
 
Posts: 40
Joined: Sun Jan 11, 2009 4:51 pm
Has thanked: 0 time
Been thanked: 0 time

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.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to System programming

 


  • Related topics
    Replies
    Views
    Last post