Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Open 'in use' files during large copy operations Desktop
When copying a large file from a network volume mounted in the Finder, the destination file cannot be opened (while the copy is in progress) by double-clicking it in the Finder or via navigation dialogs in Mac OS X applications. Mac OS X will put up a dialog saying "The file is used by Mac OS X and cannot be opened".

This can be very annoying if you're copying a lengthy video or audio file and want to view its contents prior to completion of the copy. The way around this is to use the command line to open the file. It's really quite simple. Open your Terminal application and type the following:

open /path/to/file

Of course, you replace /path/to/file with the path to the file being copied. You might have to use the full path to open, too -- /usr/bin/open, but it should be set up to work without it. Interestingly enough, this will open the file in the default application without objections from OS X.

[robg adds: I'm not a big fan of opening files while they're being modified; it just seems like an invitation to disaster. If you wish to do so, however, this trick should work.]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[8,053 views]  

Open 'in use' files during large copy operations | 4 comments | Create New Account
Click here to return to the 'Open 'in use' files during large copy operations' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
dragging files
Authored by: mwalker on Aug 27, '04 12:16:34PM

Don't forget you can drag the file from the finder into the Terminal, and it will into the full path at the cursor. Saves typing.



[ Reply to This | # ]
dragging files
Authored by: geltmar on Aug 28, '04 05:10:58AM

This works for me:
- Copy an MPEG Movie from a Samba-Server with Drag'n'Drop
- Once a few MBs are on the local volume, drag'n'drop the 'white' icon of the Movie on vlc (videolanclient) in the dock, and it starts playing



[ Reply to This | # ]
Open 'in use' files during large copy operations
Authored by: swedentom on Aug 27, '04 01:22:26PM
I'm not a big fan of opening files while they're being modified
They're not being modified, only copied.

[ Reply to This | # ]
Open 'in use' files during large copy operations
Authored by: cclifton on Aug 27, '04 01:32:13PM

The destination file in a copy operation is most certainly being modified. It starts out empty and ends up with the full contents of the original.

Opening the destination file before the copy is complete shouldn't be a problem provided that 1) the opening application only reads from the file and 2) the opening application doesn't read through the file faster than the copy operation is writing it.

---
Curt



[ Reply to This | # ]