Appreciating Unix, Linux, and Bash

Hopefully you’re beginning to understand and appreciate Unix and the like more. For our first assignment, we’ll practice some bash that could be useful in studio environments.

Complete this linked course on your own. I recommend following along, but if you have a strong programming background, at least still read through it all for some good examples of syntax and the thinking behind bash. Bash Scripting (Linux Handbook)
Get started with Bash shell scripting.

Then plan solutions on paper first to each of these script challenges listed below. Avoid use of AI tools or if you feel absolutely needed, limit them to questions of understanding rather than directives of implementation. Document both your paper planning and any AI discussions to include with your submission.

  1. scaffold.sh: uses getopts and takes a project, “shot” or “asset”, and a name for whichever shot or asset as arguments. It should create a directory tree “projects//<shot|asset>/" and under that create subfolders plates, work/models, work/rig, work/anim, work/lighting, work/comp, and publish.

  2. missing.sh: given start and end frame numbers in a sequence and the sequence location, report none missing or the count and which are missing.

  3. dailies.sh: use ffmpeg to read an exr frame sequence and write a h.264 mp4 file for review.

  4. backup.sh: use rsync to copy a working directory excluding any .git, cache/, or .tmp to another location.

  5. rename.sh: rename and/or renumber a frame sequence.

Include a pdf written discussion of your work, screenshots demonstrating execution included, etc.

Bundle all ine one .zip file to upload to Canvas. Work to finish by this Thursday, but details will be discussed in class and the due date listed on Canvas when the submission window is open.

Explore Next

Welcome

Other Projects