🤯
...you can use #sed or #awk to create a command and then pipe it to #bash??
```
2023-01-06.txt
2023-01-13.txt
...
2023-12-29.txt
ls -1 *.txt \
sed -E 's/^([0‐9]{4})‐([0-9]{2}).*/mkdir -p \1\/\2 \&\& mv & \1\/\2/' \
| bash
```
Daniel Barrett, [Efficient Linux at the Command Line: Boost Your Command-Line Skills](https://amzn.to/3uMJhbx)
#linux