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

Last change on this file since 36966 was 36826, checked in by davidb, 19 months ago

Changed from import-sample to import dir

  • Property svn:executable set to *
File size: 364 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/ -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.