Hiding 'icon?' files visible in folders after Mac transfer
How do I hide the single 'icon?' file now visible inside every folder after mac transfer? Thx
MacBook Pro 15″, macOS 11.7
How do I hide the single 'icon?' file now visible inside every folder after mac transfer? Thx
MacBook Pro 15″, macOS 11.7
Press the Shift, Command, and period keys. If that doesn't work, choose Utilities from the Finder's Go menu, open the Script Editor, and run:
do shell script "chflags hidden " & quoted form of POSIX path of (choose file)
on each of them. The script won't have an effect if the Finder is set to display normally-hidden items.
(264217)
Press the Shift, Command, and period keys. If that doesn't work, choose Utilities from the Finder's Go menu, open the Script Editor, and run:
do shell script "chflags hidden " & quoted form of POSIX path of (choose file)
on each of them. The script won't have an effect if the Finder is set to display normally-hidden items.
(264217)
Use the following:
set theFiles to "(search for files named Icon in the Finder and drag them here)"
repeat with thisFile in paragraphs of theFiles
do shell script "chflags hidden " & thisFile
end repeat
(264222)
Thanks for your input John, but there was one created by apple for every folder throughout my hard drive during transfer.
Dealing with each one individually would take a very very long time. I need to batch hide them in one go. Thx
Thank you John, but regrettably not in this instance.
It is not possible for Google to have created an 'icon?' file in every single folder throughout my whole hard drive. They were created by Apple during set up and transfer of files from one macbook to another.
Thanks for this Niel... Could you expand on it a little? As it's beyond my limited experience 😊
I can get them into the finder but not sure hereafter, and concerned about making the wrong move... Thx
Thanks for trying to help Niel but I really don't understand any of your instructions well enough to execute.
I.e. Set theFiles to "(search for files named Icon in the Finder and drag them here)" (drag them where??)
repeat with thisFile in paragraphs of theFiles (repeat with which file? in what paragraphs? or search again with part of this sentence?)
do shell script "chflags hidden " & thisFile What is 'doing shell script' etc etc... 'end repeat' but end repeat what and where etc etc?
end repeat
Drag the files between the quote marks in the script. For example:
set theFiles to "/Users/username/Desktop/Icon"
The rest of the lines are designed to be interpreted and carried out by the Script Editor, not you.
(264252)
They're system files 'icon?' (usually hidden) in every folder throughout my hard drive John, I'm trying to re-hide the files, it's not an aesthetic choice. 😊
I understand. The reason for providing that link is that the presence of that icon has been correlated to the use of a specific Google product.
Delete the text between the first pair of quote marks and drag the files to where it used to be.
(264227)
Thanks the clarification Niel. Will try that.
Hiding 'icon?' files visible in folders after Mac transfer