Runs a script for each file in a directory hierarchy using GNU parallel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
434 B

6 years ago
  1. #!/bin/sh
  2. echo "Fullpath: $ITERATOR_FULL_PATH"
  3. echo "Name: $ITERATOR_FILE_NAME"
  4. echo "Name without extension: $ITERATOR_FILE_NAME_WITHOUT_EXTENSION"
  5. echo "Current directory: $ITERATOR_CURRENT_DIR"
  6. echo "Current relative directory: $ITERATOR_CURRENT_REL_DIR"
  7. echo "Base directory: $ITERATOR_BASE_DIR"
  8. echo "Target directory: $ITERATOR_TARGET_DIR"
  9. echo "Arg 1: $1"
  10. echo "Arg 2: $2"
  11. echo "Arg 3: $3"
  12. echo "-----------------------------"