Rename Them All
Rename every file in this folder whose name ends in .txt so that it ends in .md instead: plan.txt becomes plan.md. Some names have spaces in them. Files of other kinds keep their names.
Example 1
plan.txt
p
to do.txt
t
photo.png
x
ends as
== ./photo.png x == ./plan.md p == ./to do.md t
Constraints
- Up to 9 files, at least one
.txt - No folders inside
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Bash problems
- SquaresMedium
- Sum a ColumnMedium
- Swap Two ColumnsMedium
- The Longest LineMedium
- The Most Common WordMedium
- Busiest VisitorsHard
- Lines of CodeHard
- Only in the FirstHard