Skip to content

Commit

Permalink
3.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
neurobin committed Sep 20, 2015
1 parent f424577 commit 56a1842
Show file tree
Hide file tree
Showing 19 changed files with 357 additions and 192 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,9 @@ Bug fix: inconsistency in reserved directory index.
1. `--` option added. Anything after this option will be taken as file path.
2. Added warning for multiple defintion of the same option i.e option override.

###`3.0.6`: <span class="light-quote">Sun Sep 20 16:45:37 UTC 2015</span>

1. Directory reserved index inconsistency fixed.
2. Added `-cd` and `-cf` options.
3. Added sort functionality. `-s` for default (natural) sort, `-s/g` for general sort. `-s/n` for natural sort. `-s/none` for no sort.

8 changes: 8 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Bulk Rename Utility written in `C++`. Files and directories can be passed as com
7. Name can be taken from a file too. And these names (taken from a file) can be modified with *Name String* at runtime.
8. Name can be taken from a file according to starting line number (`-l` or `-sl`) and ending line number (`-el`).
9. Null terminated file can be taken as Name String File.
10. Files or directories can be sorted in natural order or general alphabetical order.


<div id="install"></div>
Expand Down Expand Up @@ -157,6 +158,12 @@ Options are case insensitive, i.e `-ssF` and `-ssf` are the same.
`--exclude-directory`,
`-ed` : Apply rename on files only, exclude any and all directory and their
contents. Forces file only mode regardless of depth (-dp) value.

`--count-directory`,
`-cd` : Count directory in reserved index, regardless of other options. Reserves indices for directories even if it is File Only mode.

`--count-file`,
`-cf` : Count file in reserved index, regardless of other options. Reserves indices for files even if it is Directory Only mode.

`-y` : Confirm Yes to all.

Expand Down Expand Up @@ -285,4 +292,5 @@ etc...
5. This is a dangerous tool like `rm`, so use with care. If you make a mistake and do some unwanted rename, run `rnm -u` to undo (before running any more `rnm` command).
6. Pass all regex like strings within quotes even if they don't contain any white space.
7. To pass a filename that resembles an option, use `./`, i.e `./-ns` to pass a file named `-ns` in the current directory. Or you can use the `--` option make it a non-option argument; in that case make sure to pass all "Option" arguments before `--`, because everything after `--` will be taken as file path/s.
8. Pass file or directory path list at the end of the argument sequence. Use `--` to make all the argumets after it as paths (not options).

8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Bulk Rename Utility written in `C++`. Files and directories can be passed as com
7. Name can be taken from a file too. And these names (taken from a file) can be modified with *Name String* at runtime.
8. Name can be taken from a file according to starting line number (`-l` or `-sl`) and ending line number (`-el`).
9. Null terminated file can be taken as Name String File.
10. Files or directories can be sorted in natural order or general alphabetical order.


<div id="install"></div>
Expand Down Expand Up @@ -157,6 +158,12 @@ Options are case insensitive, i.e `-ssF` and `-ssf` are the same.
`--exclude-directory`,
`-ed` : Apply rename on files only, exclude any and all directory and their
contents. Forces file only mode regardless of depth (-dp) value.

`--count-directory`,
`-cd` : Count directory in reserved index, regardless of other options. Reserves indices for directories even if it is File Only mode.

`--count-file`,
`-cf` : Count file in reserved index, regardless of other options. Reserves indices for files even if it is Directory Only mode.

`-y` : Confirm Yes to all.

Expand Down Expand Up @@ -285,4 +292,5 @@ etc...
5. This is a dangerous tool like `rm`, so use with care. If you make a mistake and do some unwanted rename, run `rnm -u` to undo (before running any more `rnm` command).
6. Pass all regex like strings within quotes even if they don't contain any white space.
7. To pass a filename that resembles an option, use `./`, i.e `./-ns` to pass a file named `-ns` in the current directory. Or you can use the `--` option make it a non-option argument; in that case make sure to pass all "Option" arguments before `--`, because everything after `--` will be taken as file path/s.
8. Pass file or directory path list at the end of the argument sequence. Use `--` to make all the argumets after it as paths (not options).

20 changes: 10 additions & 10 deletions autom4te.cache/output.0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles.
@%:@ Generated by GNU Autoconf 2.69 for rnm 3.0.5.
@%:@ Generated by GNU Autoconf 2.69 for rnm 3.0.6.
@%:@
@%:@ Report bugs to <http://github.com/neurobin/rnm/issues>.
@%:@
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='rnm'
PACKAGE_TARNAME='rnm'
PACKAGE_VERSION='3.0.5'
PACKAGE_STRING='rnm 3.0.5'
PACKAGE_VERSION='3.0.6'
PACKAGE_STRING='rnm 3.0.6'
PACKAGE_BUGREPORT='http://github.com/neurobin/rnm/issues'
PACKAGE_URL=''

Expand Down Expand Up @@ -1275,7 +1275,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures rnm 3.0.5 to adapt to many kinds of systems.
\`configure' configures rnm 3.0.6 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1341,7 +1341,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of rnm 3.0.5:";;
short | recursive ) echo "Configuration of rnm 3.0.6:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1434,7 +1434,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
rnm configure 3.0.5
rnm configure 3.0.6
generated by GNU Autoconf 2.69

Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1895,7 +1895,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by rnm $as_me 3.0.5, which was
It was created by rnm $as_me 3.0.6, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -2763,7 +2763,7 @@ fi

# Define the identity of the package.
PACKAGE='rnm'
VERSION='3.0.5'
VERSION='3.0.6'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -5396,7 +5396,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by rnm $as_me 3.0.5, which was
This file was extended by rnm $as_me 3.0.6, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -5453,7 +5453,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
rnm config.status 3.0.5
rnm config.status 3.0.6
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

Expand Down
20 changes: 10 additions & 10 deletions autom4te.cache/output.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles.
@%:@ Generated by GNU Autoconf 2.69 for rnm 3.0.5.
@%:@ Generated by GNU Autoconf 2.69 for rnm 3.0.6.
@%:@
@%:@ Report bugs to <http://github.com/neurobin/rnm/issues>.
@%:@
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='rnm'
PACKAGE_TARNAME='rnm'
PACKAGE_VERSION='3.0.5'
PACKAGE_STRING='rnm 3.0.5'
PACKAGE_VERSION='3.0.6'
PACKAGE_STRING='rnm 3.0.6'
PACKAGE_BUGREPORT='http://github.com/neurobin/rnm/issues'
PACKAGE_URL=''

Expand Down Expand Up @@ -1275,7 +1275,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures rnm 3.0.5 to adapt to many kinds of systems.
\`configure' configures rnm 3.0.6 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1341,7 +1341,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of rnm 3.0.5:";;
short | recursive ) echo "Configuration of rnm 3.0.6:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1434,7 +1434,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
rnm configure 3.0.5
rnm configure 3.0.6
generated by GNU Autoconf 2.69

Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1895,7 +1895,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by rnm $as_me 3.0.5, which was
It was created by rnm $as_me 3.0.6, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -2763,7 +2763,7 @@ fi

# Define the identity of the package.
PACKAGE='rnm'
VERSION='3.0.5'
VERSION='3.0.6'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -5396,7 +5396,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by rnm $as_me 3.0.5, which was
This file was extended by rnm $as_me 3.0.6, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -5453,7 +5453,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
rnm config.status 3.0.5
rnm config.status 3.0.6
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

Expand Down
20 changes: 10 additions & 10 deletions autom4te.cache/output.2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles.
@%:@ Generated by GNU Autoconf 2.69 for rnm 3.0.5.
@%:@ Generated by GNU Autoconf 2.69 for rnm 3.0.6.
@%:@
@%:@ Report bugs to <http://github.com/neurobin/rnm/issues>.
@%:@
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='rnm'
PACKAGE_TARNAME='rnm'
PACKAGE_VERSION='3.0.5'
PACKAGE_STRING='rnm 3.0.5'
PACKAGE_VERSION='3.0.6'
PACKAGE_STRING='rnm 3.0.6'
PACKAGE_BUGREPORT='http://github.com/neurobin/rnm/issues'
PACKAGE_URL=''

Expand Down Expand Up @@ -1275,7 +1275,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures rnm 3.0.5 to adapt to many kinds of systems.
\`configure' configures rnm 3.0.6 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1341,7 +1341,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of rnm 3.0.5:";;
short | recursive ) echo "Configuration of rnm 3.0.6:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1434,7 +1434,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
rnm configure 3.0.5
rnm configure 3.0.6
generated by GNU Autoconf 2.69

Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1895,7 +1895,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by rnm $as_me 3.0.5, which was
It was created by rnm $as_me 3.0.6, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -2763,7 +2763,7 @@ fi

# Define the identity of the package.
PACKAGE='rnm'
VERSION='3.0.5'
VERSION='3.0.6'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -5396,7 +5396,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by rnm $as_me 3.0.5, which was
This file was extended by rnm $as_me 3.0.6, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -5453,7 +5453,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
rnm config.status 3.0.5
rnm config.status 3.0.6
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

Expand Down
Loading

0 comments on commit 56a1842

Please sign in to comment.