In my trash is a folder with no files, yet I can't Empty trash because it says a file in the trash is locked. If I try to copy the folder back to the desktop it says that file stream.yuv is locked and won't copy to the desktop...so how to I get rid of this file and Empty my trash?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 15 of 15
Thread
-
-
terminal
type
sudo rm -R [drag file from trash to terminal window] -
Sweet, worked perfectly...I never knew you could drag to the terminal like that. Thanks.
-
didnt work for me.. when i go into the trash folder and into the folder i can not delete i see this file...
[Donald-Radlunds-Computer:.Trashes/501/DMBShows] donaldradlund% ls
????????????HFS+ Private Data
what the hell do i do to get rid of that? -
TGPO - the stream.yuv file is a temporary item of forty-two the desktop/finder cant handle this item very well. Usually it is removed properly when encoding is done, however if you halt it or quit the encoding this steam.yuv hangs around.
My experience is if you save your forty-two file anywhere but the desktop and let the encoding complete on its own, this .yuv is removed automatically.
If you decide to quit it for any reason, just remember the
sudo rm -R [drag file from trash to terminal window]
later
Galactica -
damn, still didnt work.. this is the error i get when i run the command:
[Donald-Radlunds-Computer:~] donaldradlund% sudo rm -rf /Volumes/MacintoshHD/.Trashes/501/DMBShows
rm: /Volumes/MacintoshHD/.Trashes/501/DMBShows/␀␀␀␀HFS+ Private Data: Operation not permitted
rm: /Volumes/MacintoshHD/.Trashes/501/DMBShows: Directory not empty
help me -
In order to remove a directory you first have to remove the files in it I do believe. Once the directory is empty use the command rmdir to remove the folder.
-
you can remove a folder and its entire contents [files, folders, or both] using the command:
sudo rm -R /path/to/folder
works every time. -
when i do that "sudo rm -R /path/to/folder" i get this:
[Donald-Radlunds-Computer:~] donaldradlund% sudo rm -R /Volumes/MacintoshHD/.Trashes/501/DMBShows
Password:
override --------- root/wheel schg for /Volumes/MacintoshHD/.Trashes/501/DMBShows/ HFS+ Private Data? y
rm: /Volumes/MacintoshHD/.Trashes/501/DMBShows/ HFS+ Private Data: Operation not permitted
rm: /Volumes/MacintoshHD/.Trashes/501/DMBShows: Directory not empty
this is really irking me.. it is there no matter what -
Hi,
sorry if I bring an answer which is not "the right way" or the "unix way" : I had this problem twice already (I had the feeling that the file came from mencoder, but now that that you mentionned 42, maybe it might have been 42, which anyway seems to use mencoder as well) : I deleted the "undeletable" file from macOS 9, very simply. To the trash you go ! And emptied the trash, as for any other file...
No problem of right or locked file, as it's not handled by OS 9.
To the question, "may this break something" I can't answer, anyway, I did not notice any trouble after I erased the file this way...
Hope this helps.
-
That sounds good, but I don't have OS 9 installed on my computer. OS X only.
-
try this
Go to the terminal and type
cd /Volumes/MacintoshHD/.Trashes/501/DMBShows/
rm -R HFS+ Private Data
then do a rm -R on the /Volumes/MacintoshHD/.Trashes/501/DMBShows/ folder and see what you get.
Another way is to open FIND from the FINDER and add the visibility criteria and search for a FOLDER named DMBShows open that folder in the finder [from the search window] and GET INFO on the HFS+ PRIVATE DATA folder. change the owner and permissions to match your user and apply to all enclosed. Then do a sudo rm -R command on the folder from the terminal.
OS 9 sucks. I don't use it either. -
That sounds good, but I don't have OS 9 installed on my computer. OS X only.
bash-2.05a$ mount
/dev/disk0s9 on / (local)
devfs on /dev (local)
fdesc on /dev (union)
<volfs> on /.vol (read-only)
/dev/disk0s10 on /Volumes/Users (local)
/dev/disk0s11 on /Volumes/UnixFS (local)
automount -fstab [372] on /Network/Servers (automounted)
automount -static [372] on /automount (automounted)
bash-2.05a$
Make sure that the entry for '/' is not (read-only)
Now try `rm -rf /Path/To/The/Damn/Folder`. If that doesn't work then nothing will Press Ctrl-D to continue normal multi-user booting. Good luck! -
Go get cocktail at: http://www2.dicom.se/cocktail/
This little, free application will remove all kinds of stubborn files.
Similar Threads
-
How to add ".ass" subtitles to a ..."h264" file?
By Tatsubon in forum SubtitleReplies: 3Last Post: 20th Apr 2012, 18:35 -
Need to supply "File Type" and "Mime Type" info for MKV file
By oneking in forum Newbie / General discussionsReplies: 9Last Post: 9th Feb 2012, 03:31 -
Set "Output filename" As Default Global "File/segment title" In MkvMerge?
By LouieChuckyMerry in forum Video ConversionReplies: 0Last Post: 9th Jul 2011, 01:52 -
Staxrip: "Constant Quality" vs. "Exact File Size"
By FallenAngelII in forum Video ConversionReplies: 1Last Post: 9th Aug 2007, 17:40 -
Why do I have 2 files? "Movie Clip" and "M2V File"
By tygger in forum Newbie / General discussionsReplies: 1Last Post: 22nd Jun 2007, 21:55