use Digest::MD5;
use IO::File;
my $chk = Digest::MD5->new();
foreach my $file (@ARGV)
{
$chk->addfile(IO::File->new($file));
print "$file -> ",$chk->hexdigest,"\n";
}
The additional details could be found on [...]
|
||||||||
|
use Digest::MD5; my $chk = Digest::MD5->new(); foreach my $file (@ARGV) print "$file -> ",$chk->hexdigest,"\n"; The additional details could be found on [...] select d.file# f#, d.name, d.status, h.status If there are such files, the recovery is necessary: restore the file from the backup Another possibility (if there are a lot of files): restore the files from the backup ls -1 | cpio -o | cpio -ivt | awk ‘{print $NF, $(NF-1), $(NF-4), $(NF-3) }’ Warning: I/O expensive for the large files! Perl: @a = localtime((stat($my_file))[9]); [...] |
||||||||
|
Copyright © 2010 MemoSoup - All Rights Reserved
|
||||||||