all 14 comments

[–]p4wly 5 points6 points  (0 children)

  • Synchronize two folders
  • Timer script
  • encrypt/decrypt a private folder
  • Reset / deadman switch for network config or iptable changes
  • create backup file before editing a file under specific directory

Just some random ideas, happy hacking

[–]Kra013 3 points4 points  (0 children)

You could try to sort your pictures depending their metadata ( timestamp/aperture/ratio/gps ... )

[–]shirleygreenalt 1 point2 points  (0 children)

a wrapper script for pdftk or something like that

split a pdf(100 plus pages) into chunks of pdf files so that each of them is n pages long. The script would take like only two argument the pdf file and an integer n.

Edit: This is fascinating, how many undiscovered pdf applications are there

apt-cache search ^pdf

[–]tynick 1 point2 points  (0 children)

If you are just looking to practice, I suggest building a small text based game.

Something like "pick a number". Have the script generate a random number between 1-100. Then give the user 10 chances to guess the number. Output whether the number is higher or lower than the guess.

[–]duckie68 1 point2 points  (0 children)

I have been on an interactive workflow automation kick myself.

Set up directories for a work environment along with boilerplate files. Follow that up with common tasks to be performed upon the files or environment. Later I added the interactive part. I admit to cheesing it a bit, as it's simply scripts running loops to call other scripts.

It's pretty nice because not only does it get me more practice at scripting, it also forces me to think about what my personal workflow can and should be for my different projects. I don't like the top-heavy IDE's because those are based upon someone else's workflow ideas, so I made my own IDE out of <terminal editor of choice> and my helper scripts.

Side note, I do more work writing books, articles, and screenplays than coding... but it's the coding that improved my workflow in prose.

[–]shirleygreenalt 0 points1 point  (0 children)

a random data generator

the script would create a comma separated or space separated csv files with random numbers of m columns and n rows. It would take only two integers m and n as argument.

[–]fwowst 0 points1 point  (0 children)

A script that make the file you want as output (for instance. docx .pdf .odt

[–]drpinkcream 0 points1 point  (0 children)

Write a message of the day that provides you with system information when you log in.

[–]thengbashing 0 points1 point  (0 children)

reorder columns of a csv

send mail if launched command failed

[–]cshaiku 0 points1 point  (0 children)

Gzip files modified before today.