r/badcode •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

86 comments sorted by

View all comments

Show parent comment

7

u/pilotInPyjamas Mar 22 '21

This solution creates a new file for each line in the date file and sets the date modified. It then uses ls to sort all files by date modified.