I faced this issue while I was removing huge list of files from a folder using
sudo rm -rf /folder/some-filename-2017*
Take a count of file in the folder:
ls techlogs/ | wc -l
Upon googling found following command, that fixed my issue.
cd /folder
Above command will list all files start with “some-filename-2017”
sudo find . -name 'some-filename-2017*'
sudo find . -name 'some-filename-2017*'| xargs rm
Above command will delete all files start with “some-filename-2017”