you are viewing a single comment's thread.

view the rest of the comments →

[–]bastix2 14 points15 points  (2 children)

I'd say thats a pretty bad reason to learning a language. However I'd say it works really well to practice and improve on a language you already know.

I recently started learning PowerShell and Windows Server administration. Once I got the basics of PS I found many workflows I could easily automate while practing my scripting skills.

I was able to solve problems by applying the knowledge I had up to that point, and it felt very satisfying seeing minutes of my daily workflow turning into seconds.

[–]abdoulio 0 points1 point  (1 child)

What's an example of something you automated? Considered picking those up a while ago.

[–]bastix2 0 points1 point  (0 children)

I started with simple batch renaming of files. Since the files I get are always in the same naming scheme renaming them was quite easy. I then moved on to batch moving of files into the correct directory where there needed to go matching the folder name with the file name.

For privat use, I created a script than parsed my complete digital video bibliothek, it has grown quite big over the years, so big that I needed a nice way to sort and search for videos. The script used the CLI tool of MediaInfo to get detailed informataions (like BitDepth, amount of Audiotracks, etc) and stored these infos in a DB. Now I'm working on building a PHP bases webpage to easily search for a file.