OS X V10.7 Lion :: Preserve File Extension On Rename?
Mar 16, 2012
On Snow Leopard I was very used to pressing enter and renaming a file by simply typing a new name while preserving the extension. Now I've noticed that in Lion when you press enter and start typing the new name, you'll have to type in the extension too.
I've set up an Automator to batch rename files. The renaming works fine. The problem arises when it renames a file which doesn't contain it's extension (a common MacOS practice). Is there some way to make sure it preserves the filetype? For instance, this works fine:
And this results in an error:
Output (file type has been replaced with generic "document" type)
I am trying to edit Haskell files with Text Edit. However when I save the file it automatically adds .txt or .rtf and won't let me use .txt. Even when I go into finder and change the file extension it immediately changes it back to .rtf or .txt. It works when I save perl files. How do I get Text Edit to save Haskell files? I am using Lion.
I got a file named myfile.dat from my supervisor and he said myfile.dat is a helix database file. I tried to open that file after installing helix server 6.1.5, but I couldnt open it. I am really in a confusion that whether the given file is helix format file or something. Can anyone tell me that how to open *.dat file or how to identify the format from the file extension.
I try to open an Open Office spread sheet and it simply saves the file as another file with the .cpgz extension which does the same thing. This did not happen a couple weeks ago; I think my download for Apple updates may be the culprit. My OS X is now 10.7.3, I believe originally it was 10.7.2 but I could be wrong.
The original document is a zip archive but now "saves as" a .cpgz archive. I have tried the "Unarchiver", which I just downloaded, but it only creates another file with subfolders, none of which appear to have my original spread sheet. (To be honest, I never noticed this Open Office spread sheet file was a zip file until a few minutes ago when I tried to unsuccessfully open it).
I would like to direct my Documents, Pictures, and "Other" to 3 folders in my downloads folder upon downloading them, either with Safari, with Finder, Folder Actions, Automator, or with any other free tool that does not take up too much CPU load.
I use OS X Mail v4.5 on Snow Leopard. I am about to change jobs and lose access to my IMAP mail account at my old institution. Is there a way to keep all of the mailboxes and store them locally on my Mac, for future reference? Ideally, browsing my old mailboxes would not require a live IMAP server connection.
The Macbook of a friend of mine doe not boot anymore after an abordet Itunes-Upadte yesterday evenig.How ever, the Save-Boot-Log tells me, that "The System bootstrapper has crashed: Trace/BPT trap: 5" I assume that i have to reinstall OS X to get the Macbook run again. This is where i'm sure, whether the Install via Recovery-Partition -> Reinstall Lion does a complete Clean-Install (all Data that's been on the HDD will be gone) or does "only" some Repair-Install-Stuff which preserve the personal Data and Software on the HDD. Nevertheless i'm going to Backup (CCC) the broken installation to be on the safe side anyway.
I want to preserve my family photos and videos on an external hard drive as I am filling up my MacBook Pro storage, meaning I need to remove some videos from my MacBook so I can add more. It sounds like Time Machine will write over old files to keep more recent updates. Is there a way to mark certain files on the external hard drive as ones that should NEVER be deleted by Time Machine?
I once changed the file extension on a ppt presentation sent to me, and it finally opened. I read about it on here, but cant find the original forum thread and cant remember the extension: pxt or ptx or something similar.
I just recently download a video file from Deposit Files & it downloaded without any extension? I am looking for a way to find out its extension & be able to open this video & play it in real player or quicktime as intended. Any time i click on the file the usually gibberish opens up in textedit.
is there a better way of renaming a file / folder than clicking to select the icon, waiting a couple of seconds, then clicking again on the name (and waiting a tick) to edit the fil name? like a keyboard shortcut im not aware of, im a seasoned mac user but need enlightening,
I have close to a hundred music files that won't play, they have no file ending (.*). They were transferred from a now formatted computer (no way to recover). I have no idea how to get them to work. If I give them an AAC ending RealPlayer will give me the following information but it won't play them. Since it tells me the length of the song it must somehow recognize it.
I am looking for an Applescript that will add file extensions to a bunch of files. Specifically .jpg to a bunch of pictures. I thought I had it in one of the forums but when you click on the link Attached Files File Type: zip add to file names.scpt.zip (7.6 KB, 227 views) you get a blank screen and the tab says "attachment.php" and nothing happens. Is there a script somewhere?
I want to make sure that the file names in iPhoto are unique. For some reason, my digital camera was set to reset its file namer to start at IMG_0001 with every roll, so I have several dozen files with the same file names. Within iPhoto, it's generally not a problem, but if I need to work with a group of files outside of iPhoto, copy-dragging a bunch of photos across rolls to a single folder generally bombs out because of the conflicting file names. iPhoto doesn't seem to have any sort of file renamer at all, I can change the title, but that doesn't actually change the file name. I could and will now use the iPhoto exporter because it seems to do the trick, but sometimes that isn't as convenient as selecting a bunch of files and dropping them into my preferred folder.
I have an AFP share on my nas box containing many files. My problem is that when I try and to rename files by hitting enter, the finder window refreshes and I lose focus of the file rename. This seems to be happening when finder is refreshing the thumbnails for each file's icon.
How can I stop this very frustrating behavior. This doesn't happen when not using AFP.
you can rename, move or even trash a file when you still have it opened in preview or textedit.In win, such action will be stopped by the message "can't do that, the file is open somewhere". Would that data going to be kind of homeless or become a "ghost"?
I have a large collection of files that I'd like to run through Automator to batch edit some qualities of these pictures. However, these images have been submitted from multiple people, moved around, and just "existed" for long enough that some of the files have lost their file extensions. The problem occurs when I try to run them through Automator. Everything runs fine until it comes across a file without an extension, then it stops, and displays an error message. Does anyone know a way around this in Automator? Does an Applescript exist that would be able to add these file extensions back in?
IWhen I mount and open it, it contains three files: autorun.inf, edisk.dat and SVOLBRO.EXE. I am assuming that it is the edisk.dat file that I should be reading but I can not open it. I have spoken to the company who say that it should contain an encrypted pdf file. I have tried copying and renaming the file to edisk.pdf and then using preview but I am getting an error message saying the preview is unable to open the file.
I am very new to automator, but relatively savvy with macs and such. Having a strange problem where an Automator file action to rename a file with a sequential number is only working one time. The second time a new file drops into the folder, nothing happens. If I edit the Automator File Action, change the number to a new higher number, it will work one more time, and then not again. The basic task is to rename a file with a new text and sequential number each time a file is dropped or saved to a folder. I am using a slide scanner, and the default image file that is saved is called 'untitled' each time. Having this work would let me automate the entire scanning process to one click...
Info: iMac, Mac OS X (10.6.8), 3.06 Intel Core 2 Duo
I have a bunch of mp3 files that I would like to rename the original file name. Itunes only allows me to change metadata, but to fix broken names and keep organized, I need to change the file name. Once I rename the file, it shows the new name, and then upon playing it, it reverts back to the original name. I do not have any locked permissions. I have parallels and tried to rename them on the windows 7 side but same effect. I tried to shut all programs off so the file was not in use. I even tried to export it as a acc file type. I am exhausted looking for a solution, this is why I am using this forum as a last ditch effort.
I have a set of photos I"d like to import into iPhoto, but iPhoto doesn't recognize them because they don't have file extensions. Could someone give me a script that will look at each file in a specific folder, check to see if an extension is present, and if not, add the correct extension based on the file type?
I have a customer who owns a Mac and when she attempted to download an unzipped embroidery file (jef extension) she was greeted with the message this was not possible, that it had to have a .dmf extension and she was given the option to use both (nameoffile.jef.dmf)This did not work at all.
How do you download an embroidery file while keeping the extension intact?She transfers her file to a jump drive and then to her machine. We tried downloading directly to the jump drive - same message.She is going to try to use her Windows parallel and see if that will work.
I have some .numbers files that I need a friend to look at on her pc with Excel 2003 SP3, but it's not working for her. I have changed the extension to .xls but it's no good, as when she tries to open them they are all gobbledegook.
Here's a snapshot of the various files I have, but notice how the icons for each is different, or rather that there are two distinct designs? Some of them DO open in Excel, but some do not.
Cannot seem to upload to a ftp server (permissions are correct on the home folder of the user!)But I get this result:
ftp> put /Users/[userfolder]/Documents/untitled.rtf local: /Users/[userfolder]/Documents/untitled.rtf remote: /Users/[userfolder]/Documents/untitled.rtf 227 Entering Passive Mode (99,254,236,63,209,169) 553-Can't open that file: No such file or directory 553 Rename/move failure: No such file or directory