cancel
Showing results for 
Search instead for 
Did you mean: 

i need to extend date retention period

N_4
Level 3

Hi Friends,

I need to extend date retention period about 300 tapes is there any script ??

1 ACCEPTED SOLUTION

Accepted Solutions

Will_Restore
Level 6

for example, if you had all the barcodes in a file and you wanted to extend them to January 15, 2020

 

newdate = "01/15/2020 12:00:00"

while read barcode

do

  bpexpdate -m $barcode -d $newdate

done < "filename"

View solution in original post

4 REPLIES 4

Will_Restore
Level 6

you could put a wrapper around bpexpdate command

bpexpdate -m media_id -d date

 

N_4
Level 3

could you please provide any script to do all in single time 

Will_Restore
Level 6

for example, if you had all the barcodes in a file and you wanted to extend them to January 15, 2020

 

newdate = "01/15/2020 12:00:00"

while read barcode

do

  bpexpdate -m $barcode -d $newdate

done < "filename"

N_4
Level 3

Thanks you :)