I'm trying to write a bash script in Ubuntu and I need the file sizes in a specified directory. I searched for it in the net but all the solutions suggested showed sizes of files and directories. I want the sizes of files only, in my script. How can I find only the file sizes? Please help. (Hope this is relevant to this forum)
Thanks in advance.