How can I check for a file size and add that result in an Excel spreadsheet in Perl?
Posted
by Nano Taboada
on Stack Overflow
See other posts from Stack Overflow
or by Nano Taboada
Published on 2008-09-16T12:18:13Z
Indexed on
2010/04/25
6:03 UTC
Read the original article
Hit count: 217
Currently I monitoring a particular file with a simple shell one-liner:
filesize=$(ls -lah somefile | awk '{print $5}')
I'm aware that Perl has some nice modules to deal with Excel files so the idea is to, let's say, run that check daily, perhaps with cron, and write the result on a spreadsheet for further statistical use.
© Stack Overflow or respective owner