Hello,

> cd /var/spool/repackage; ls | perl -ne 'use Time::Local; my
> ($mday,$mon,$year,$hour,$min,$sec) = split(/[\s.:]+/, "23.04.2012
> 12:00:00"); my $time =
> timelocal($sec,$min,$hour,$mday,$mon-1,$year); print if $_>=$time' |
> sort -r | while read dir; do rpm -Uvh --oldpackage --force $dir/*; done


Thank You, Tomek, this 1-liner will be usefull with some more packages
:).

-- 
Pozdrawiam,
 Łukasz Chrustek

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to