coding

Write Bash Script for File Processing

Create a Bash script to automate file processing tasks

The Prompt
Write a Bash script that processes files in the following way: [PROCESS_DESCRIPTION]. The script should handle error cases and log its actions. Ensure the script is efficient and follows best practices.

Get 10 fresh prompts weekly — free, no spam.

When to use this

Use this when you need to automate repetitive file processing tasks on a Unix-like system.

Pro tips

  • Use meaningful variable names and comments to make the script easy to understand.
  • Ensure the script handles edge cases like missing files or insufficient permissions.

⚡ Level up — premium tools for this

More coding prompts