diff options
Diffstat (limited to 'tests2/renamer')
-rwxr-xr-x | tests2/renamer | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests2/renamer b/tests2/renamer deleted file mode 100755 index 24add6f..0000000 --- a/tests2/renamer +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -test_dirs=( "markdowntest-cases" "php-markdown-cases" "php-markdown-extra-cases" "tm-cases" ) - -old_ext="text" -new_ext="txt" - -for (( i = 0 ; i < "${#test_dirs[@]}"; i++ )) -do - for j in "${test_dirs[$i]}"/*.${old_ext} - do - mv "$j" "${j/.text}".${new_ext} - done -done - - |