75lb/renamer

Error with files starting with "." (dot)

333van opened this issue · 1 comments

Version: probably the latest as I have ran npm i -g renamer
Platform: Windows 10
Steps to reproduce:

mkdir temp; cd temp
touch .foo.bar
renamer -f "." ./* -d
# ERROR: These paths or patterns do not exist: ./*
renamer -f "/^\./" ./* -d
# ERROR: These paths or patterns do not exist: ./*
mv .foo.bar foo.bar
renamer -f "."  ./* -d
# No Error

PS: Thank you for making this awesome app!

I guess it's because these files are treated as "hidden" files and they are omitted by renamer. /ayoisaiah/f2, another similar project, gives users the option to rename hidden files. Hope renamer can have this feature also.