From 1f892029f82d357d874ff415b7d381cbb8756d40 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Fri, 13 Sep 2013 18:55:10 -0700 Subject: [PATCH] Remove extraneous shell script --- rename.sh | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 rename.sh diff --git a/rename.sh b/rename.sh deleted file mode 100644 index 01ca10602..000000000 --- a/rename.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -echo "$BASH_VERSION" -#regex='^(.*?/)ripple_([^/]+?)$' -#find ./src -type f -mindepth 1 -maxdepth 6 -print0 | while IFS= read -r -d '' f; -#do -# if [[ $f =~ $regex ]]; then -# echo "$f" -# fi -#done - -#find . -type f -name 'ripple_*' -exec sh -c 'f={}; n=${f##*/ripple_}; echo "$f" "${f%/*}/$n"' \; -find . -name 'ripple_*' -type f -exec sh -c 'f={}; n=${f##*/ripple_}; mv "$f" "${f%/*}/$n"' \; - - - - - - -#find src/ripple* -type f -regex '^.\*/ripple_([^/]+)$' -mindepth 1 -maxdepth 6 -print0 | while IFS= read -r -d '' f; -#"^(.*?/)ripple_([^/]+?)$" -#find ./src -type f -regex '^\(.*?/\)ripple_\([^/]+?\)$' -mindepth 1 -maxdepth 6 -print0 | while IFS= read -r -d '' f; -#regex = "^(.*?/)ripple_([^/]+?)$" -#find ./src -type f -mindepth 1 -maxdepth 6 -print0 | while IFS= read -r -d '' f; -#find './ripple_*\.*' -type f -mindepth 1 -maxdepth 6 -print0 | while IFS= read -r -d '' f; -#do -# echo "$f" -#done -#for f in '**/ripple_*'; -#do -#n=${f##*/ripple_}; -#mv "$f" "${f%/*}$n"; -#echo "$f" -#done -#find . -name 'ripple_*' -exec sh -c 'f={}; n=${f##*/ripple_}; mv "$f" "${f%/*}$n"' \ No newline at end of file