I have a directory, /local/test/
under this directory is many subdirectories, each subdir has about 70 files, the 70 files are always the same names. I want to print to the screen the size of fileabc.txt in each of the subdirectories. I cannot seem to work with pipe and splats * because there are about 12,000 subdirectories in /local/test/
So each of these 12,000 subdirs contains a fileabc.txt and I want to know its size in each subdir.
I tryed this command and it didnt work
>cd /local/test/
>find . -name fileabc.txt | ls -lt
it obviously didnt work!
any ideas?
Thank you!!