2025-06-12 | TUI Challange, Day 5
This commit is contained in:
parent
78309f630d
commit
67fc55e0de
3 changed files with 39 additions and 2 deletions
|
|
@ -8,7 +8,8 @@ series: ["tuichallenge"]
|
|||
summary: "A Web of Trouble"
|
||||
---
|
||||
|
||||
Day 3 of the TUI Challenge is about browsing the web in the terminal. I use to use browsers like
|
||||
# Day 3 of the TUI Challenge is about browsing the web in the terminal.
|
||||
I use to use browsers like
|
||||
[lynx](https://lynx.invisible-island.net) or [elinks](http://elinks.or.cz) back in the early days of the web when I had
|
||||
a slow connection like dial-up or a wireless modem from the late 1990's. Back then, web sites were much simpler than
|
||||
today. An advance web site might have tables! So, in those days, a text browser worked well. But, how about now in the
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@ series: ["tuichallenge"]
|
|||
summary: "A Song For The Terminal"
|
||||
---
|
||||
|
||||
Day 4: Let the music play! The challenge is stream music from the terminal. Easy. I moved to self-hosting my music by
|
||||
# Day 4: Let the music play!
|
||||
The challenge is stream music from the terminal. Easy. I moved to self-hosting my music by
|
||||
using a server [navidrome](https://www.navidrome.org). I have been happy with this solution for a long time. I have a
|
||||
[an android client](https://f-droid.org/en/packages/github.daneren2005.dsub) which caches locally so I can listen on the
|
||||
go without killing my cell bill.
|
||||
|
|
|
|||
35
content/post/2025/06/tui-challenge:-day-5.md
Normal file
35
content/post/2025/06/tui-challenge:-day-5.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
date: "2025-06-12T04:00:00-07:00"
|
||||
title: "TUI Challenge: Day 5"
|
||||
tags: ["cli","tui"]
|
||||
categories: ["personal","sa"]
|
||||
#image: ""
|
||||
series: ["tuichallenge"]
|
||||
summary: "A Song For The Terminal"
|
||||
---
|
||||
|
||||
# Day 5: File management.
|
||||
'Wait!' you say 'You live at the terminal, what is wrong with *ls*, *cp*, or *mv*?' Well, most
|
||||
of the time, that is fine, but there are times when I need to rename a bunch of files (cleaning up my MP3 collection) or
|
||||
quickly review some source files. In those cases, what do I use?
|
||||
|
||||
## vifm
|
||||
[vifm](https://github.com/vifm/vifm) is a 'file manager with curses interface, which provides Vim-like environment for
|
||||
managing objects within file systems, extended with some useful ideas from mutt.' When you start it up, you are great
|
||||
with a split window with directory listing on both side. Using the normal vi keys moving around. You can select
|
||||
multiple files, and then do things like mass rename or move the file to the other pane. Very quick and easy. I have
|
||||
used this to bulk rename mp3s in a directory to my new naming standard. I could write a script, but I have messed that
|
||||
up in the past, and part of why I need this type of tool to clean up.
|
||||
|
||||
## ranger
|
||||
[ranger](https://github.com/ranger/ranger) is a 'VIM-inspired filemanager for the console'. This is a tri-pane
|
||||
arrangement Contents of the parent directory, current directory, details of what you are looking at. This last part is
|
||||
the useful part. If you have selected a directory, it will show the contents of the directory. If you are looking at a
|
||||
text file, it will show the contents of the file. The lets you review many files without using a pager or an editor to
|
||||
review the contents.
|
||||
|
||||
## Daily totals
|
||||
Score time! [Yesterday](/post/2025/06/tui-challenge-day-4/) left us with 105 points. On the score. Using a tui
|
||||
filemanager, 10 points. 5 points for the bulk renaming. I have done any scripting with these type of tools, so no more
|
||||
points there. Total today, 15 points, and a grand running total is now 120.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue