Wildcards match many files at once

The intern's 300 logs

The summer intern saved a log file for every hour of testing, straight into ~/logs. All 300 of them. The two notes in there, README.txt and todo.txt, are drowning.

Please move all the .log files into a new folder, ~/logs/archive. Leave the .txt files where they are.

Moving 300 files one by one? There's a better way.

Your goal

Create the directory ~/logs/archive and move all .log files from ~/logs into it. README.txt and todo.txt must stay in ~/logs.

Starting Linux…

Stuck?

    Challenge not found

    This challenge doesn't exist (any more). See all challenges.