I have a little introductory exercise to do as homework, I have to do a little script which takes 2 arguments, first argument a directory the second argument a number.
The functionality is to classify the files from the directory into 2 subdirectories. First subdirectory for files larger than the second argument and the second subdirectory for smaller files.
My thought were to take $5 from ls -l but i think its not a good idea, can someone give me any recommendation? Thank you.
find
with this objective. – jesse_b Feb 26 '18 at 18:21