Change file kind?

Is there any way to change a file's "kind?" I've got some .package files which should be unix executable files, but they have the wrong kind. They are either listed as text documents or terminal documents. Any way to change this? I've tried everything I can think of. Any help is appreciated.

Nevermind. I got the files working.

Similar Messages

  • How to change File Kind (not "how to assign an application to open a file?)

    I build the toc.ncx file (part of the ePub setup) automatically, based on user input and source file content. It's fine, except that the file Kind (as shown in Finder Preview, for example) is Plain Text.
    The Kind should be Unix Executable File (the actual description is "zmedia-type="application/x-dtbncx+xml") in order for the file to function correctly with the rest of the ePub generation.
    I could set the file Kind in the program (I think!), except that I do not know what the code for such a Kind is.
    Can you help?
    Message was edited by: David Neale1
    Message was edited by: David Neale1

    To make the file a Unix executable can be done as follows:
    Open the Terminal application in the Utilities folder and enter the following:
    sudo chmod 755 /pathto/filename
    Press RETURN. Enter your admin password at the prompt; it will not be echoed. Alternatively put a space after "755" then drag the file's icon into the Terminal window.
    If you want the Unix icon simply set the file's default application to Terminal by selecting the file then Press COMMAND-I to open the Get Info window. Change the default application in the Open With section. If you want all .ncx files the same way then click on the Change All button.

  • Change file kind description

    In the Finder "cfg" files are listed as "LightWave Config Files" (even after uninstalling LightWave 3D). When I open the info panel (cmd-I) the kind description is set to "Document".
    Is there a way to change the kind description in the Finder? There is no program associated with this file format, but on another Mac the kind of cfg-files is "Document", both in Finder and the info panel and not "LightWave Config File".

    SaTh wrote:
    I have just installed Snow Leopard. It seems it solved my "problem" with cfg-files which were recognized as LightWave Config Files. Anyway I still wonder if it is possible to change the file-kind-description manually.
    According to this article
    http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/3
    under Snow Leopard Mac file-type/creator codes are kept in an "extended attribute" in the resource fork. I'm not sure what the best tool is for modifying those.

  • Changing the file kind's description

    On my MacBook Pro running Leopard, I have several PHP files whose kind in Finder is displayed as "HTML Document". When I display the "Get Info" pop-up for a PHP file, the Kind field under General is not editable.
    I would like to change the file's kind description from "HTML Document" to "PHP Source File". I have done a lot of digging and searching via Google to find a solution to this and I have not found anything that describes how to do this.
    Is there a way under OS X to change the file kind description?

    Hello jk:
    I do not use those files, but I suggest you do a Google search on "PHP." There is a lot of information there.
    Barry

  • Is it possible to change the file Kind, e.g. mkv to video and not document?

    Is it possible to change the file Kind, e.g. mkv to video and not document?
    I can't find where I can change this in Finder or OSX.  Is this really hardoded in the OS?  Get Info gives me no options, but that is where I set the default apps for file kinds (types).
    I hope this is possible because I have lot of document kinds and the arrange by kind view in Finder is thus not very useful.
    Thanks in advance.

    It has to be hard-coded in the application that claims MKV files as a type.

  • TextEdit files' Kind is "Unix Executable"--how do I change this?

    For some mysterious reason, a whole bunch of my TextEdit files now show up as Unix Executable files! I'd like to change the Kind of these files, so they once again are identified as Rich Text Format (RTF) or SimpleText documents.
    I was able to change their extension, so at least they now open up in TextEdit when I double-click them, but I'd like them to show up as well when I search for Kind, or list files by Kind.
    Any suggestions of how to change this would be welcome!

    OK, I figured out a quick and dirty method. Open each file in TextEdit and save it. It changes the kind back to TextEdit.
    First, open several files at once in TextEdit (do that by dragging the files to the TextEdit icon--if you double-click they'll open up the Terminal which you don't want.) Then, it's a simple matter of keeping your finger on the Apple (command) key, while you alternate between pressing S (for command-s for save) and W (for command-w for close). You can sit there mindlessly going through the rhythm, back and forth, and process dozens very quickly!
    In case anyone else runs into this problem, here's a way of finding all the Unix Executable files. Go to your Documents folder. Do a Find (command-F), pick Documents folder, select Search by Kind, select Other, and type in Unix Executable. Voila! A list of those files. Save the search so that you can repeat this as needed. (I also discovered that you can search for contents and type in Unix Executable and find them.)
    WARNING: BE CAREFUL! Some of the files may not be textedit files! Or you'd rather have them open up in another program such as Word. So, you'd have to do the open, save, close shuffle via that other program.
    Alright! I just discovered some more in another folder (I hadn't started with Documents). So I'm off to fix those, too!
    Still, there must be a good batch processor somewhere (freebie hopefully) that would convert the Kind quickly. (And here I don't mean the type and creator as some of these files showed TXT and .txt but still had their Kind as Unix Executable.)

  • Change File Type/Kind of File

    I have a file on my MAC that I use in Windows, which I run on my MAC using Parallels.
    File 1
    Under Get Info, it shows the file Kind as a Unix Executible File (since there is nothing associated with it on the MAC) - in Windows it correctly shows the file as a QuickBooks file.
    File 2
    I fooled around with the extension and made it XLS. Now under Get Info, it shows the file Kind as a Microsoft Excel Workbook - in Windows, I can change the extension, but it shows the file type as a Excel file.
    I'm trying to change the file Kind from Excel to Unix Executable File, or other. I think if I can say what it opens with, it might work. The problem is that the file doesn't open with any MAC program, so I can't do that (note with file #1, the open with field says <none>, which is okay).
    Can anyone offer any help. The file works fine, I just don't want my Quickbooks file to say that it is an Excel file. This is not an extension issue, it is a hidden coding issue that I can't figure out.

    I was able to change the extension in Windows, which then changed the file type. I'm still curious as to how to make the change directly on my MAC.

  • ITunes cannot change video kind for multiple files

    i put many video files to library, and then i want to change each video kind into music video, but unfortunately i can't find an easy to change those files at once.
    i have to change them one by one.
    my question is: is it possible to change "video kind" of many files at itunes library at once? how?
    thx

    No, it's not possible to batch-edit the fields on the Video tab. This seems like an outright oversight and will probably be corrected in a future version soon. What's worse, after you take the time to change the Video settings on your files one at a time, iTunes won't bother saving all the changes in the file itself. The Video Kind setting will change to the default "Movie" when the file is removed and added back to the library. For instance, all the "TV Show" files you back up to disk become "Movie" when added back to the library later. You have to edit the Video tab one by one again! It's maddening.

  • Changing Media Kind To Podcast

    Hi,
    I have downloaded some free podcasts from Soundcloud but they are not going into my podcast tab in iTunes. I have clicked
    'Get Info" and changed media kind to Podcast but it just disappears from my library and seems to go missing. It still plays from "Recently Added" Playlist but doesn't show in Podcasts tab or Music Tab. Can anyone explain why?
    Thanks
    Matt

    I'm also unable to change a couple of files' media kind from 'Music' to 'Podcast', no matter how much info I include.  I can change the media kind to 'Audiobook' and they appear in the "Books" section, but if I change it to 'Podcast' and click OK they remain in "Music", and when I check the info the media kind has reset to 'Music'.  Very frustrating.
    Ironically, they were podcast episodes I had to purchase through iTunes as I accidentally deleted the original downloads.  They downloaded as music not podcasts (since they were purchased, not "subscribed" to) and when I tried to change their media kind to 'Podcast' I had the above problem, but after the first try it simply greyed-out the media kind drop-down.  I then re-encoded them as MP3s thinking that the protected MPEG-4 files wouldn't allow a change in media kind, but after the re-encode I've had the above problem.  I just want to put them with the rest of the podcasts in the series/season.

  • Cannot change media kind in itunes 12 - audiobook

    Hi
    Before the update i could add an audiobook to itunes from my laptop, windows 8.1. The audiobook got into musicfiles, then i marked all the files/songs, went to info and changed from music to audiobook. Viola and i could find my audiobook in that categori.
    That is no longer possible! I can still go to info, but the only option in media kind is "music"
    I have tried with severel audiobooks, but same result. I also tried when i wasn't logged on to Itunes, and then i could change media kind, but when i logged on, nothing changed.
    Sorry for the spelling and grammatics errors. From Denmark.
    Yours sincerely
    Flemming

    Hi
    Before the update i could add an audiobook to itunes from my laptop, windows 8.1. The audiobook got into musicfiles, then i marked all the files/songs, went to info and changed from music to audiobook. Viola and i could find my audiobook in that categori.
    That is no longer possible! I can still go to info, but the only option in media kind is "music"
    I have tried with severel audiobooks, but same result. I also tried when i wasn't logged on to Itunes, and then i could change media kind, but when i logged on, nothing changed.
    Sorry for the spelling and grammatics errors. From Denmark.
    Yours sincerely
    Flemming

  • Change file name with oreilly servlet

    I am using oreilly servlet package and I want to change the file name to the file I am uploading, is this possible ?
    How ?
    Thanks.
    here I post the servlet code:
    package com.reducativa.sitio.servlets;
    * DemoParserUploadServlet.java
    * Example servlet to handle file uploads using MultipartParser for
    * decoding the incoming multipart/form-data stream
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import com.oreilly.servlet.multipart.*;
    public class DemoParserUploadServlet extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    PrintWriter out = response.getWriter();
    response.setContentType("text/plain");
    out.println("Demo Parser Upload Servlet");
    File dir = new File("f:/");
    if (! dir.isDirectory()) {
    throw new ServletException("Supplied uploadDir " + "f:/ " +
    " is invalid");
    try {
    MultipartParser mp = new MultipartParser(request, 10*1024*1024); // 10MB
    Part part;
    while ((part = mp.readNextPart()) != null) {
    String name = part.getName();
    if (part.isParam()) {
    // it's a parameter part
    ParamPart paramPart = (ParamPart) part;
    String value = paramPart.getStringValue();
    out.println("param; name=" + name + ", value=" + value);
    else if (part.isFile()) {
    // it's a file part
    FilePart filePart = (FilePart) part;
    String fileName = filePart.getFileName();
    if (fileName != null) {
    // the part actually contained a file
    long size = filePart.writeTo(dir);
    out.println("file; name=" + name + "; filename=" + fileName +
    ", filePath=" + filePart.getFilePath() +
    ", content type=" + filePart.getContentType() +
    ", size=" + size);
    else {
    // the field did not contain a file
    out.println("file; name=" + name + "; EMPTY");
    out.flush();
    catch (IOException lEx) {
    this.getServletContext().log("error reading or saving file");
    }

    Hi there,
    I am facing the same problem that you have stated in your Feb 26, 2002 10:28 AM message regarding "change file name with oreilly servlet", I would like to change the file name to include a unique identifier upon upload, did you ever find a solution to your problem?
    Thanks!
    Todd
    [email protected]

  • Change file from .tiff to .pdf?

    How do I change file from .tiff to .pdf? (I scanned in a large volume of items, and didn't realize they were not in.pdf).

    Select a file, CMD+I, and change the Open with selection. Select Change all.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • How do I stop DW CS6 randomly changing file permissions via FTP?

    How do I stop Dreamweaver CS6 12.0.1.5842 randomly changing file permissions when it uploads files to my web server via FTP.
    I can no longer trust Dreamweaver to upload websites correctly as it changes permissions on some files which then deny the server access to the file which in turn makes the webpage unreachable/return a 403 error.
    This is driving me insane.
    I'm using an early 2011 Macbook Pro 10.7.5.

    Hi,
    I'm having this problem too. Has Adobe fixed the issue yet? This appears to be an Adobe problem, not all the web hosts out there. CS6 is ramdomly (meaning: not every time) changing permissions on files uploaded with it and is not usable for web work until this problem is fixed by Adobe or a solution is provided. If I wanted to use a separate FTP program I would not have recommended that my employer buy multiple Adobe CS6 product licenses. One of the primary appeals of DW is the integration of FTP into the workflow.
    I am using a destop iMac2.8 GHz Intel Core 2 Duo, 4 gigs of 800 MHz DDR2 SDRAM.
    OSX 10.7.5
    I am using DW Version 12 Build: 5808
    Dreamweaver CS4 that I was using until this new purchase was working just fine. No file permisssion changes. I am being forced to go back to using it until Adobe posts a fix for this.
    I should ask while I'm here: has anyone found a solution for this yet?
    Thanks,
    -c-

  • How can I do the same as Windows Explorer with datemodified:11/6/2013 .. 11/13/2013 showing only changed files with path in tree and NOT every folder along the way as Finder seems to do by default? Thanks!

    I'm an Apple newbie.
    I'd like to be able to list each file in the "Desktop" tree (ie; on the desktop, or in any folder on the desktop, etc.), along with its path, that has been modified since a certain date.
    When I use Finder to do a similar search, I get tons of output including every folder in the path to the modified file, etc. Although I can view the path to the individual files in the output, I can't for example, order the output by path, etc.  Very difficult to sort through. I'd love to have output like the example above - just the filename and path for each changed file.  Possible?  Thanks in advance!
    Wayne

    The file structure is a little complex. I will use inbox as an example.
    Inbox (a large file with no file extension)
    Inbox.msf ( An index of inbox with tags etc. Can be deleted with only loss of tags)
    Inbox.sdb (a folder, indicating that the folder within Thunderbird has a sub folder.
    POP mail is stored in
    Appdata/Roaming/Thunderbird/Profiles/*.default/Mail/[Server name]/
    Local folder is stored in
    Appdata/Roaming/Thunderbird/Profiles/*.default/Mail/Local Folders/
    As long as you do not overwrite, you can copy and paste whole folder trees into local folders (stuff on your old computer under a mail account is best relocated to local folder and then sorted as necessary afterwards.
    Note that you should delete foldertree.json after making those sorts of copies (it forces a full refresh of the folder tree, no cache) and under no circumstances copy data with Thunderbird running. It can irrevocably corrupt things

  • Is it possible to change file name policy in the JRE cache folder?

    We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
    On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
    They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
    Question:
    Is it possible to change file name policy in the JRE cache to make it less unique?
    Thanks,
    -Dima

    dgomel wrote:
    We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
    On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
    They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
    Question:
    Is it possible to change file name policy in the JRE cache to make it less unique?
    I suggest you solve the real problem - big files.
    There are two scenarios
    1. Initial download
    2. Updates.
    The first takes as long as it takes. No way around it.
    The second means that you can't use one jar. Otherwise every single update requires downloading the entire application every time. Multiple jars means only the one that changed is downloaded.

Maybe you are looking for

  • No organizational data exists on item level (error message)

    Hello everybody, I still have this error message when try to create a shopping cart : 'No organizational data exists on item level' Following a lengthy discussion with SAP Support, SAP recommended that I remove the reference of the Purchasing Organiz

  • LabVIEW 8.6.1 crashes

    Good Day All,    I've got an application where I'm getting intermittent crashes, sometime when in edit mode, sometimes when my program is actually running. I have gotten a couple of "MemoryManager.cpp  line 437" crashes, but more often, but still int

  • Setting up as a NAT router

    I want to try using Leopard Server on an Xserve as a NAT router. With 2 NICs the hardware is perfectly capable, but there seems to be a glitch in OSX that is preventing me from getting there. I have Ethernet 2 (en1) set up for the LAN (10.0.0.0 netwo

  • I have a cellular ipad mini

    I have an ipad mini, running happily on cellular Amaysim 'pay as you go'/voucher/over the counter data. I also have a non Internet Macbook. I am seeking to sync/tether them for the purpose of downloading from the Internet into useable form. If I am l

  • Patch for slow spry tooltips

    On larger pages with several tooltips on classes, the page takes a long time to finish all of the javascript initialization. This turns out to be caused by the time it takes spry to search the DOM for objects with matching class names. I patched my c