xrforge/manyfold/root/hook.d/experience_updated/1000-scan-dir.sh

5 lines
173 B
Bash
Executable file

#!/bin/sh
cd "$1"
echo "[v] scan (new) files of model"
id="$(basename "$dir" | sed 's/\#//g')"
#echo "Model.find(id).add_new_files_later()" | /usr/src/app/bin/rails console