How to find out what program is using a file I am trying to delete?

I know I could probably just reboot and then empty my trash without getting this error- but this is a good chance to learn. So, I have a video file I converted with Handbrake. I deleted the file- but it won't let me delete it- saying it is in use (this is even after closing Handbrake). I have closed everything but it still gives me this error. Is there a way to see what program is grabbing it- a terminal command maybe?
thx

Open terminal, copy and paste the following
lsof
note- trailing blank space,
drag and drop your file from trash or from desktop to the open terminal window, and return.
example +lsof /pathtofile+

Similar Messages

  • How to find out what software was used to create a document?

    Hello:
    I was sent a file to work with and it was supposedly made using a Mac computer, but I can't open it. How can I find out what program was actually used to create this document. It ends with xxxxx.rsrc. I even tried to open it on my PC and it says there is no default application specified to open the document.
    Thanks for your help.
    Susan
      Mac OS X (10.4.7)  

    Have you tried opening your file with Textedit?
    Also, if you select the file from the Finder and type cmnd-I (Get Info), it should tell you what program can be used to open it.
    Lita

  • How do I find out what program is using what port?

    Hi
    I would like to know what program is using what port? I would also like to know how to close a port. I did a port scan and these ports were open:
    Open TCP Port: 1033 netinfo-local
    Open TCP Port: 20221
    Open TCP Port: 20222 ipulse-ics
    Open TCP Port: 20223
    Open TCP Port: 20224
    Open TCP Port: 20225
    Open TCP Port: 20226
    Open TCP Port: 20227
    Open TCP Port: 20228
    Open TCP Port: 47807
    I am using netbarrier on my computer.
    Thank you for your help.
    iBook G4   Mac OS X (10.4.8)  

    This document may help with your first question:
    "Well known" TCP and UDP ports used by Apple Software Products
    This IANA listing of the port numbers is also useful, if more detailed.
    You can use the Sharing tab of System Preferences to configure the firewall to block all ports except for those specified; you can use the command-line ipfw utility to set up more detailed firewall configurations.
    Matt

  • How to find out WHAT PFILE IS USED?

    I find that many spfile and pfile coexist in one system. How do I know
    which one is used by the DBA to startup the database?
    If the database is started, I can type "show parameter spfile" to
    check the location of spfile. But it show nothing if pfile is used.
    but what about pfile?

    >
    I find that many spfile and pfile coexist in one system. How do I know
    which one is used by the DBA to startup the database?
    If the database is started, I can type "show parameter spfile" to
    check the location of spfile. But it show nothing if pfile is used.
    but what about pfile?From
    http://www.dba-oracle.com/concepts/pfile_spfile.htm
    ==============================
    Depending on which operating system you are running on,
    your PFILE is located by default in the ORACLE_HOME\database
    (usually the case on Windows) or ORACLE_HOME\dbs directory
    for most other platforms (we talked about where ORACLE_HOME
    was earlier in this book).
    If you are using a PFILE, it takes on the form of initSID.ora, meaning
    the file will use the ORACLE_SID you defined when you created the
    database. If your SID is called testdb, the resulting PFILE should
    be called inittestdb.ora
    =============================
    Now, what you should be able to do also is to
    find the script that starts the database and find the
    pfile that it points to.
    You could do
    find . -name "*.ora" -print
    Oh yes, PLEASE, PLEASE put OS and DB versions
    in your posts.
    Paul...

  • How to find out what kind of type a file is?

    hi there!
    does andbody know if it is possible to find out if a file is a picture?
    Example: i have a file, with no extension. How can i know, if this file is a gif or a JPG?
    thanx for your help!
    jules

    Rename it "mypic.gif" or ".jpg" and load it.
    Alternatively, dig out documentation on the format of Unix file magic files, and decode # GIF
    0       string          GIF8            GIF image data
    4 string 7a \b, version 8%s,
    4 string 9a \b, version 8%s,
    6 leshort >0 %hd x
    8 leshort >0 %hd,#>10    byte            &0x80           color mapped,
    #>10    byte&0x07       =0x00           2 colors
    #>10    byte&0x07       =0x01           4 colors
    #>10    byte&0x07       =0x02           8 colors
    #>10    byte&0x07       =0x03           16 colors
    #>10    byte&0x07       =0x04           32 colors
    #>10    byte&0x07       =0x05           64 colors
    #>10    byte&0x07       =0x06           128 colors
    #>10    byte&0x07       =0x07           256 colorsand #------------------------------------------------------------------------------
    # JPEG images
    # SunOS 5.5.1 had
    #       0       string          \377\330\377\340        JPEG file
    #       0       string          \377\330\377\356        JPG file
    # both of which turn into "JPEG image data" here.
    0       beshort         0xffd8          JPEG image data
    6 string JFIF \b, JFIF standard
    6 string Exif \b, EXIF standard# The following added by Erik Rossen <[email protected]> 1999-09-06
    # in a vain attempt to add image size reporting for JFIF.  Note that these
    # tests are not fool-proof since some perfectly valid JPEGs are currently
    # impossible to specify in magic(4) format.
    # First, a little JFIF version info:
    11 byte x \b %d.
    12 byte x \b%02d# Next, the resolution or aspect ratio of the image:
    13 byte 0 \b, aspect ratio
    13 byte 1 \b, resolution (DPI)
    13 byte 2 \b, resolution (DPCM)#>4     beshort         x               \b, segment length %d
    # Next, show thumbnail info, if it exists:
    18 byte !0 \b, thumbnail %dx
    19 byte x \b%d
    # Here things get sticky.  We can do ONE MORE marker segment with
    # indirect addressing, and that's all.  It would be great if we could
    # do pointer arithemetic like in an assembler language.  Christos?
    # And if there was some sort of looping construct to do searches, plus a few
    # named accumulators, it would be even more effective...
    # At least we can show a comment if no other segments got inserted before:
    (4.S+5) byte 0xFE
    (4.S+8) string >\0 \b, "%s"
    #>(4.S+5)       byte            0xFE            \b, comment
    #>>(4.S+6)      beshort         x               \b length=%d
    #>>(4.S+8)      string          >\0             \b, "%s"
    # Or, we can show the encoding type (I've included only the three most common)
    # and image dimensions if we are lucky and the SOFn (image segment) is here:
    (4.S+5) byte 0xC0 \b, baseline
    (4.S+6) byte x \b, precision %d
    (4.S+7) beshort x \b, %dx
    (4.S+9) beshort x \b%d(4.S+5) byte 0xC1 \b, extended sequential
    (4.S+6) byte x \b, precision %d
    (4.S+7) beshort x \b, %dx
    (4.S+9) beshort x \b%d(4.S+5) byte 0xC2 \b, progressive
    (4.S+6) byte x \b, precision %d
    (4.S+7) beshort x \b, %dx
    (4.S+9) beshort x \b%d
    # I've commented-out quantisation table reporting.  I doubt anyone cares yet.
    #>(4.S+5)       byte            0xDB            \b, quantisation table
    #>>(4.S+6)      beshort         x               \b length=%d
    14 beshort x \b, %d x
    16 beshort x \b %d

  • How to find out what modules are used

    In /etc/rc.conf there are a lot of modules that are loaded that don't need to be, like modules related to OSS. Is there some command that'll show me what modules are being used at the moment and/or what they do?

    Yes Thinkpad FTW! Back on topic; so there are three columns: Module, Size and Used By. In the used by column what do the different numbers mean?
    I ran "lsmod | less" to be able to view each individual one. (That "| less" part is really useful)
    Last edited by jordanwb (2008-08-07 01:59:15)

  • How to find out what iviews are using a particular system

    EP NW2004 SP 17
    We are trying to see which iviews are associated with a particular system.  I've tried using Content Admin -> Multiiple property Replacement.  I add our corporate folder to the 'Selected Objects' -> click next.  I then select 'iview' then 'system'.  I then select radio button 'search objects by property value' and enter current value of the system in quest and new value with the same system in question.   I get like 1,400 hits and the list can not be displayed.
    Thanks in advance
    -- Steve

    Hi,
    this was a really good idea. Since the list is so big, I could think of one other very simple way. Why don't you try to export the complete PCD content as a XML (via the [XML Content and Actions|http://help.sap.com/saphelp_nw70/helpdata/en/93/28f999daa6434a845da6bf9ab5072c/frameset.htm].) In the resulting file you should also be able to search for the system alias and from there get the iView (with the complete PCD path).
    Of course there is certainly a way to develop some code which can do the same for you.
    Regards,
    Holger.

  • How do I find out what program / file is using 100 GB of space on my Hard drive?  Once I find the problem  how do I delete the specific files to increase GB of space?

    How do I find out what program / file is using 100 GB of space on my Hard drive?  Once I find the problem  how do I delete the specific files to increase GB of space?

    Use OmniDiskSweeper
    Once you find file, it can be deleted from within OmniDiskSweeper
    Allan

  • HT1391 Hi can anyone tell me how to find out what and when my last purchases were made from the App Store ? I think my kids used all my credit

    Hi can anyone tell me how to find out what and when my last purchases were made from the App Store ? I think my kids used all my credit

    .from iTunes, go to View > Show sidebar
    From sidebar > Itunes Store > Click top left on your Apple ID email address > Account > ...scroll down > Purchase History > View All

  • My ipod says my apple id is in use. How do I find out what is in use and shut it down?

    My ipod says my apple id is in use. How do I find out what is in use and shut it down or close out?

    What are you doing when yo get that error?
    Maybe?
    iOS: FaceTime is 'Unable to verify email because it is in use'
    same for Messages

  • How to find out internet explorer version ,using a java program?

    How to find out internet explorer version ,using a java program?

    Browser version from java?....you must be referring it from some web application....rite?
    You can read the User-Agent header using request.getUserAgent() or request.getHeader("User-Agent") in your jsp or servlet.
    for more details pls refer:
    http://www.jguru.com/jguru/faq/view.jsp?EID=12253

  • How to find out which keywords were used to create a smart album?

    Hi,
    I actually have 2 questions;
    a) Short of scrolling down my very long list of password on the HUD - is there an elegant way to do it - How to find out which passwords were used to create an existing smart album? It's a recurring challenge for me.\ 'cause I like using smart albums, but once in a while need to check or chane the passwords.
    b) With annoying regularity when I try to get to this forum and choose Aperture, I get the following message - in pink, no less: It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake.
    Any clues?
    Thanks guys,
    Raphael
    <Edited by Host>

    b) With annoying regularity when I try to get to this forum and choose Aperture, I get the following message - in pink, no less: It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake.
    Any clues?
    Raphael,
    that message may occur for four reasons at least:
    Most frequently, when you are using an outdated link to a post that no longer exists, for example from an email notofication. Sometimes our community host will remove posts, that are in violation of the terms of use: see:
    Apple Support Communities Terms of Use
    Or you are using the edit button or a bookmark to an "Edit" window, after the fifteen minutes allowed for editing are up.
    Or you want to view a page in a restricted section of the ASC - soem perta are only open for members of level 6 or higher.
    Or it is one  of the unexplained problems with the forum software right now.
    a) Short of scrolling down my very long list of password on the HUD - is there an elegant way to do it - How to find out which passwords were used to create an existing smart album? It's a recurring challenge for me.\ 'cause I like using smart albums, but once in a while need to check or chane the passwords.
    I really like Kirby's suggestion with the IPTC rule Keyword is. This is very useful for smart albums global to the library.
    Frequently a different approach helps for my smart albums. Many of my smart albums are local to projects or folders.  In this case the smart HUD will only show those keywords that have been used for the images in the selection. So if I only have tagged the images with the keywords "birds" and "slideshow", the smart settings HUD will only show these two keywords and the list is very short.
    My Keywords HUD, is organized hierarchically; this way I can collapse large sections at once, and it is easier to focus on the keywords needed for a specific task.
    I use the search field in HUD a lot, to filter the set of keywords shown.

  • "Web'n'Walk III" Huawei dongle, how to find out what Huawei model it is?

    I just bought this "web 'n' walk III" UMTS Modem (USB) made by Huawei. I want to instal it but do not know if the enclosed software is out of date (MobileConnectDriver(2.9.2)) and works under SL. Does anybody know how I find out what type of Huawei dangle it is so I can find the correct software?
    any tips as to how to use this smoothly as the stick is to SIM locked and I will use it with a SIM from an other provider (Stick is branded by T-Mobile).

    I worked out the model number, it is 'hidden' in small print on the back, in a larger number.

  • How to find out what is the lock key for the computer

    How to find out what is the lock key for the computer?

    You don't.
    If you forgot or lost the password, all you can practically do is reset it.
    The manner in which you do so depends on what version of OS X you are running. The older versions utilize the reset password utility on your recovery/re-installation disk/drive.
    On Lion, you use the following technique to reset the Administrators password:
    Boot to your Lion Recovery Partition, by holding down the Option key while starting, and then selecting the Recovery HD as the boot choice.
    Once booted, at the top of the screen is a menu ..., select Utilities / Terminal from the menu bar.
    In the Terminal window, type “resetpassword” (without the quotes) and press return. A “Reset Password” window will open. Select your boot volume (your SSD drive) if it is not already selected. Select your administrators username from the menu labeled “Select the user account” if it is not already selected. Follow the prompts to reset the password. Restart the computer from the apple menu.

  • How to find out what has been restored to a database instance?

    I'm using RMAN to back up and restore/recover. How to find out what has been restored/recovered to a database instance?
    Oracle version is 11gR2 but compatibility is set to 10.
    Edited by: 881656 on Aug 28, 2012 1:54 AM

    select output
    from V$rman_output
    order by stamp;
    select *
    from V$rman_status
    order by start_time desc;
    Regards
    Asif Kabir
    Handle:      881656
    Status Level:      Newbie
    Registered:      Aug 25, 2011
    Total Posts:      52
    Total Questions:      *30 (30 unresolved)*
    -- please close all the answered threads and mark your helpful post as correct/helpful

Maybe you are looking for

  • IPod 4th gen temperature warnings

    So some time ago (roughly 2 months ago) I started getting odd behavior out of my iPod Touch. The thing would randomly freeze, quit apps, and also give unwarranted temperature warnings. So I did what I knew to do. After a good round of turning off, tu

  • [Help!] Log file size Messaging Server 2005Q4

    Hi, I have a large environment where I need to keep detailed IMAP log. I tried with logfile.imap.maxlogfilesize = 4294967296but I notice that imap file size is limited to 2MB: ls -l -rw-------   1 mail  mail      763225 Feb 20 09:16 imap -rw-------  

  • Scrap quantity to be minus with operation sequence is not check in co01

    hello! PP experts i have problem in confirmation of production order. suppose i have production order  of 15 qtys.with four operation to be confirmed (co11). operation  qty.yield  srcap qty. 0010          1 5              0 0020          14          

  • Calculating HASH values with WCCP

    Ok, I'm just not getting the HASH calculations.  Can somebody please explain how the HASH values translate into subnets? Thanks, Patrick

  • How do I securely eject vodafone USB modem in Yosimite?

    Hi Guys, Every time I try to safely remove the usb modem , my system comes up with an warning message that the disk was removed without shutting down first and the restarts the Macbook ... this is freakin anoying. I do go to the Vodafone software and