source: gs3-installations/mars/trunk/sites/mars/FOREACH-CSV-APPLY-AV-MODELS.sh@ 36823

Last change on this file since 36823 was 35221, checked in by davidb, 3 years ago

Added 'done' echo to clearly mark end of script running (typically as a nohup)

  • Property svn:executable set to *
File size: 371 bytes
Line 
1#!/bin/bash
2
3# Based on:
4# https://stackoverflow.com/questions/12965400/use-current-filename-multiple-times-in-find-exec
5
6find collect/amc-essentia/import-sample/ -name "*_essentiafeatures_frames.csv" \
7 -exec sh -c '[ ! -f ${0%.*}_AV.csv ] && ./RUN-APPLY-AV-MODELS.sh $0 ${0%.*}_AV.csv' {} \; -print
8
9
10echo ""
11echo "****"
12echo "* Done"
13echo "****"
14echo ""
15
16
17
18
Note: See TracBrowser for help on using the repository browser.