I want to sort subdirectories inside a main directory according to the size,and also I want to sort files inside the subdirectories according to the file created date through terminal. Is that possible?
Edit: After I sorted the files inside the folder by following the below answers, it doesn't rearranges while I am viewing through nautilus. I want the files to be rearranged while viewing it through nautilus.