I am new to unix and have a doubt about file size in Unix.
ls -ltr shows me fileA size as 59096.
As per my knowledge this is in bytes ,so it is nearly = 0.06MB
However, a script which should zip files greater than 1MB, also zips this file:
find [dir] -type f -size +1M -exec gzip {} \;
Based on my testing it evaluates the same fileA size to be 115MB and hence compresses the file.
Can some one please help. My aim is to zip all files above 1MB.