Essential Scripting and File Information Recipes

The following recipes are covered in this chapter:

  • Handling arguments like an adult
  • Iterating over loose files
  • Recording file attributes
  • Copying files, attributes, and timestamps
  • Hashing files and data streams
  • Keeping track with a progress bar
  • Logging results
  • Multiple hands make light work