This question already has an answer here:
I am looking for all .zip and .rar files in comp_tuts folder and I am intersted in showing their file sizes and sorting them from biggest to smallest.
I have tried
ls -R *.zip ls: cannot access *.zip: No such file or directory
I have tried this:
find / size +50M */comp_tuts/*.zip
For some reasong it's completely ignoring my path and starts at /usr/lib or whereever.
I have also tried
du -sh *.zip du: cannot access ‘*.zip’: No such file or directory