I was given a folder with around a thousand files in it to work on from someone on windows. When I open the folder there are no files. I figured out that the windows program named them all beginning with a period, which makes them hidden in mac. I am trying to use a shell script to add a letter at the beginning of all of them so I can see them.
I've been using this code with the directory with the hidden files as cd:
for i in .*; do mv "$i" "x$i"; done;
i'm trying to add an x to the beginning, but its not working.
If anyone has experience with hidden files it would be appreciated
I've been using this code with the directory with the hidden files as cd:
for i in .*; do mv "$i" "x$i"; done;
i'm trying to add an x to the beginning, but its not working.
If anyone has experience with hidden files it would be appreciated