Ksh Test Zero Byte File
Posted on admin
Ksh Test Zero Byte File Average ratng: 4,2/5 953 votes
How to check size of a file? Ask Question. Up vote 108 down vote favorite. Then echo 'everything is good' else mail -s 'file.txt size is zero.
How To Create A Zero Byte File
I have a script which contains the file location and i am running a command to fix the files. But i am not able to write the output to a file. #!/bin/ksh while read line do `shnfix '$line'` output.txt done output.txt Fixing /x01/naveenwav/file1.wav (3:49.42) - file1-fixed.wav: 100% OK Padded last file with 1194 zero-bytes. + read line + shnfix /x01/naveenwav/file2.wav + output.txt Fixing /x01/naveenwav/file2.wav (4:30.35) - file2-fixed.wav: 100% OK Padded last file with 644 zero-bytes.