Solving Random Business Problems with Command Line Tools

Published: 27 August 2024
on channel: Nick Janetakis
380
25

We'll create a quick and dirty sitemap by looking at files in a directory.

Hit the subscribe button to receive more videos like this!

REFERENCE LINKS
---------------------------------------------------
► https://nickjanetakis.com/blog/solvin...
► https://unix.stackexchange.com/questi...

COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.

► https://nickjanetakis.com/courses

THE TOOLS I USE / GEAR
---------------------------------------------------
► https://nickjanetakis.com/blog/the-to...

FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter:   / nickjanetakis  
► GitHub: https://github.com/nickjj

TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:08 -- Going over the business use case
1:35 -- Should we write a crawler?
2:25 -- Looking for patterns
3:38 -- High level strategy
4:42 -- Boilerplate script
6:12 -- Getting a list of file names
8:08 -- Convert file names into URLs
10:31 -- Filtering unwanted files
11:40 -- Normalizing the dot slash
13:21 -- Make everything lower case
13:49 -- Sorting things for good measure
14:28 -- Putting it all together


Watch video Solving Random Business Problems with Command Line Tools online without registration, duration hours minute second in high quality. This video was added by user Nick Janetakis 27 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 380 once and liked it 25 people.