Interactivity

simonc edited this page Sep 13, 2010 · 1 revision

The -i and -I options allow to interact with AbsoluteRenamer :

With the -i option, AbsoluteRenamer will ask for confirmation for each renamed file.

absrenamer -f"&" -i file_1 file_2
#=> rename file_1 --> FILE_1
#=> Do you want to rename this file ? [y/N] y
#=> rename file_1 --> FILE_1
#=> rename file_2 --> FILE_2
#=> Do you want to rename this file ? [y/N] N

#=> FILE_1 file_2

With the -I option, AbsoluteRenamer will ask for confirmation one time for all files.

absrenamer -f"&" -I file_1 file_2
#=> rename file_1 --> FILE_1
#=> rename file_2 --> FILE_2
#=> Do you want to rename this files ? [y/N] y
#=> rename file_1 --> FILE_1
#=> rename file_2 --> FILE_2

#=> FILE_1 FILE_2