Ever had a file which a Mac user to throw away, but can't be thrown away because the Finder reports that is in use when no applications are using the file? This file can be annoying and take up space for no purpose. These files can be gotten rid of by methods including:
- Renaming the file so that it ends in .rtf, and then using TextEdit to overwrite the file. This option is easiest if there aren't many files of this type.
- Using AppleScript or other tools to change the file type code of them in bulk. An example of a script which can do this is:
repeat with this_item in (get items of window 1)
--repeat with this_item in (get items of desktop)
if file type of this_item is "bzy " then
set file type of this_item to "1234"
end if
end repeat
end tell
To use it, open the Script Editor in the /Applications/AppleScript/ folder, paste the script's text in, and press the Run button. If the files are on the desktop, delete the second line in the script and the dashes at the start of the first line.
