I am try to find directories like
using the command
find . -name *?.git
but get all directories ending in .git
What I’m doing is downloading a file from amazon s3 and in creating directory based on the lines in the file. I generate a file in excel then copy the values into notepad and finally upload the file to amazon s3.
I add the .git extensions before creating the directory. This might mean that I have a line ending problem in the downloaded file.
Use this to find all directories with a question mark in name:
find . -type d -name '*?*'