Converting Unix executable files

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Converting Unix executable files
# 1  
Old 02-10-2004
Converting Unix executable files

I loaded OS X Panther on my Mac G4 and found that many files previously saved as Word or Word Perfect files were inadventently converted to Unix executable files. When I try to read these in Word, it cannot recognize or translate the file properly. Does anyone know how to translate these files? Is there a filter or software program that does this?
# 2  
Old 02-12-2004
I'll warrant the OS upgrade had nothing to do with the situation you find your text files in.

If they are just text files and not MS Word files then you should be able to open them with TextEdit.

If they are rtf documents you should still be able to open them from the "Open..." item in the TextEdit "File" menu.

Do you have one of the problem files that you are pretty certain does not contain sensitive information? Perhaps someone can examine it with your assistance and tell you what you need to do to resolve the problem.
# 3  
Old 02-12-2004
Steven, in addition to what Flying_Meat said, can you list a couple of the affected files - their names (including extensions, such as .txt) and their permissions (if you're able to see that in OS X - i don't use it personally)?

Because I'm curious what you mean by text files being converted into executables... I don't think I understand entirely what you mean. How do you know they were "converted to executables" and were not simply corrupted somehow?
# 4  
Old 02-12-2004
for oombera's curiosity:
Code:
localhost:~/me$ ls -al
total 112
drwxr-xr-x   8 me  staff   272B 25 Jan  2003 .
drwxrw-rw-  56 me  staff     1K 25 Jan 15:30 ..
-rwxr-xr-x   1 me  staff     6K 24 Jan  2003 .DS_Store
-rw-r--r--   1 me  staff    24K 13 Jan  2003 Silly Document.doc
-rw-r--r--   1 me  staff     2K 13 Jan  2003 Silly Document.rtf
-rw-r--r--   1 me  staff    10K 13 Jan  2003 Silly Document2.doc
-rw-r--r--   1 me  staff   942B 13 Jan  2003 Silly Document_rtf_73b21f5f.jpg
drwxr-xr-x   5 me  staff   170B 25 Jan  2003 silly document.rtfd

That's what it looks like from the cli on OS X.
# 5  
Old 02-04-2005
I believe that the files in question may be on a samba share where the resource fork can not be stored properly or may have been corrupted. I had a heap of reason files do this and solved the problem by just adding the correct extension. Add .doc to the end of your word files and it should be OK.

This may be incorrect reason for the problem but the solution worked OK for me
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problems with Dutch and converting files to UNIX

Dear All, for last few days I am dealing with silly problem of converting files from different types and styles (ansi, utf) in dutch to a normal unix files with utf-8 without BOM ... using both linux terminal and cygwin and no matter what I have no been successful the files has hidden... (8 Replies)
Discussion started by: A-V
8 Replies

2. UNIX for Dummies Questions & Answers

Archived Emails in UNIX Executable Files

Hello, A while back someone"archived" my emails for me, so I didn't have to worry about my email account filling up with emails. I need to get back into those emails and view them. When I opent the folder it has several files. The largest being an "mbox", which I am assuming has all of... (3 Replies)
Discussion started by: shaffer1921
3 Replies

3. OS X (Apple)

Plist to Unix Executable

I'm using an old conversion method for converting a plist into an XML file, but that's not what I'm needing just via terminal now. What I'm looking for is an answer to convert a plist file into an executable. I'd like to import it into Casper and have the JSS push it out onto an image. In this... (6 Replies)
Discussion started by: unimachead
6 Replies

4. Shell Programming and Scripting

unix executable file

Hi - How can I find out under sh whitch file is an unix executable file? Need it for an software inventory. Thanks in advance. Regards - Lazybaer (6 Replies)
Discussion started by: lazybaer
6 Replies

5. UNIX for Dummies Questions & Answers

executable files

hello. My question, basically is: what is the definition of unix/linux exec files, or what makes a file executable? More specifically, must a unix source file that was compiled using gcc have exec permissions in order to be considered executable? Is it right to say that a unix/linux exec file... (1 Reply)
Discussion started by: nadavkri
1 Replies

6. UNIX for Dummies Questions & Answers

listing executable files in unix.

How to list out the files which are not accessed for the last n days? and How to list out all the executable files in a directory? can anyone help me on the above? Thanks in advance. (3 Replies)
Discussion started by: venkatesht
3 Replies

7. UNIX for Dummies Questions & Answers

Cannot run UNIX executable !

I have installed the Darwin Calendar Server on my Mac and got it working. To start the server I open a Finder window on my mac and click the UNIX executable called RUN. In order to start the server automatically on bootup I used LINGON to add a startup Daemon to call "RUN -d". When I reboot... (6 Replies)
Discussion started by: thylacine
6 Replies

8. OS X (Apple)

Cannot translate Unix executable files

Help!! I loaded OS X Panther on my Mac G4 and found that many files previously saved as txt files were inadventently converted to Unix executable files. When I try to read these in Word, the Word filters cannot recognize or translate the file properly. Does anyone know how to translate these files?... (1 Reply)
Discussion started by: Steven Greenber
1 Replies

9. UNIX for Dummies Questions & Answers

converting files from unix to windows

Need Help?? We receive Files From GM Motors and they written on a Sun Workstation using the Tar Command on a 4mm Dat Tape. We have an HP sure Store 24 Tape drive that will Execpt but when i do that it says that the media is bad. was wondering if there was any software that would read it in its... (2 Replies)
Discussion started by: jefft1976
2 Replies
Login or Register to Ask a Question