Search Results

Search: Posts Made By: felipe.vinturin
2,080
Posted By felipe.vinturin
If I understood your question correctly, I would...
If I understood your question correctly, I would schedule a crontab job and add a variable to the date in the file name.

Something like:

# customer_data*.MMDD
currDateMMDD=`date '+%m%d'`
for...
2,080
Posted By felipe.vinturin
Another way: for mFile in `ls -1...
Another way:

for mFile in `ls -1 customer_data*.0826`; do perl -lne '{$l++}; END {print "File: [$ARGV] [".($l-2)."]"}' $mFile; done
2,080
Posted By felipe.vinturin
Try this: fileCount=0 wc -l...
Try this:

fileCount=0
wc -l customer_data*.0826 | while read lineCount FileName
do
lineCountNHT=`expr ${lineCount} - 2`
echo "FileName: [${FileName}] - LineCount:...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 07:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy