Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Can't delete a file in the trash on OSX 10.11.6 Post 302988237 by hicksd8 on Thursday 22nd of December 2016 10:18:06 AM
Old 12-22-2016
I just spent some more time researching this on the web (as you do!).

Your original post mentioned that this started when you had an external drive connected. Well it seems to me, and I'm not an OSX user, (and I'm fed up with saying that) that OSX differentiates between local and external drives. Meaning it doesn't accept weird filenames on local drives but expects them on external drives.

I found this statement/solution on a web forum, it's probably copyright content so I'll acknowledge that right now.

"I had a similar issue once and I just connected a FireWire cable between my two Macs that are near by and then started the one Mac [that had the stubborn file] in Target Disk Mode then when it mounted on the other Mac I went to the location trashed the file, emptied the trash, dismounted the Mac in Target Disk Mode unplugged and restarted it normally and *poof* the file was gone forever."

So what do all you OSX users think?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

file permisions 2000 to OSX

Could anyone tell me how or point me in the right direction on how to save files from a 2000box to a OSX server with the correct file permissions. File goes over and the only person that has r/w permissions is the owner everyone else is read only. HELP!!! (2 Replies)
Discussion started by: mom
2 Replies

2. Solaris

Script for automatic deletion of trash file of mail server

Hi, I have a mail server with limited space and operating system is sun solaris 8 (sparc). I do not have provisions to increase the space for home directory. So i have to delete files from /home/username/mail/trash which are more than 10 days old automatically. So my script should be like... (1 Reply)
Discussion started by: crown2100bd
1 Replies

3. Filesystems, Disks and Memory

unix executable file problem on MAC OSX ??? please help

I've got this problem. My computers and external hard drives are converting many of my files to a Unix Executable File which has a grey terminal looking icon. I don't understand what is causing this to happen. It is happening to a large number of my image file of different formats and also... (1 Reply)
Discussion started by: chadb
1 Replies

4. Linux

Emptying Trash

Hi all i hope someone can help me, in gnome if you right click on trash, you get another menu appear 'Empty Trash' what i want to do is be able to edit this command so that it secure deletes the trash, where is that command? so i can edit it. thanks in advance for any help, Dave (shred -z -u ) (0 Replies)
Discussion started by: dave123
0 Replies

5. UNIX for Dummies Questions & Answers

Trash

Hello, I deleted a file accidentally using rm-f inside a folder. Is there any option/command to retrive the file or is it possible to recover from trash? or once the file is deleted, it is gone completely?? (2 Replies)
Discussion started by: sydney2008
2 Replies

6. Homework & Coursework Questions

Delete restore and empty trash

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: A set of Linux shell scripts is required to allow users to ‘remove' files without them really disappearing... (1 Reply)
Discussion started by: mr100perecent
1 Replies

7. Solaris

trash can in solaris

one quick question please.. is Solaris have a RECYLE BIN,or TRASH to retrive deleted files accidently ? (0 Replies)
Discussion started by: Sojourner
0 Replies

8. Shell Programming and Scripting

File Locking with fcntl on Darwin Mac OSX

Hello I have a Perl script that works on non-darwin Mac OS X environments and I think I have narrowed down the issue to a file locking problem. In other linux environments, the flock struct is defined differently. I have adjusted this via the reference for Mac OS X fcntl(2) man page. The... (4 Replies)
Discussion started by: flagman5
4 Replies

9. UNIX for Beginners Questions & Answers

XFCE Desktop - trash, cannot execute file, command prompt here missing.

Hi there, I am using the xfce4 is already the newest version (4.12.5). thunar is already the newest version (1.8.4-1). The distribution is Linux kali 4.19.0-kali1-amd64 #1 SMP Debian 4.19.13-1kali1 (2019-01-03) x86_64 GNU/Linux However, the problem is: When I when I click on any program to... (2 Replies)
Discussion started by: alvinoo
2 Replies
MLXCONTROL(8)						    BSD System Manager's Manual 					     MLXCONTROL(8)

NAME
mlxcontrol -- Mylex DAC-family RAID management utility SYNOPSIS
mlxcontrol <command> [args] mlxcontrol status [-qv] [drive] mlxcontrol rescan controller [controller ...] mlxcontrol detach drive [drive ...] mlxcontrol detach -a mlxcontrol check drive mlxcontrol config controller mlxcontrol help command DESCRIPTION
The mlxcontrol utility provides status monitoring and management functions for devices attached to the mlx(4) driver. Controller names are of the form "mlxN" where N is the unit number of the controller. Drive names are of the form "mlxdN" where N is the unit number of the drive. Do not specify the path to a device node. status Print the status of controllers and system drives. If one or more drives are specified, only print information about these drives, otherwise print information about all controllers and drives in the system. With the -v flag, display much more verbose informa- tion. With the -q flag, do not print any output. This command returns 0 if all drives tested are online, 1 if one or more drives are critical and 2 if one or more are offline. rescan Rescan one or more controllers for non-attached system drives (e.g. drives that have been detached or created subsequent to driver initialisation). If the -a flag is supplied, rescan all controllers in the system. detach Detach one or more system drives. Drives must be unmounted and not opened by any other utility for this command to succeed. If the -a flag is supplied, detach all system drives from the nominated controller. check Initiate a consistency check and repair pass on a redundant system drive (e.g. RAID1 or RAID5). The controller will scan the system drive and repair any inconsistencies. This command returns immediately; use the status command to monitor the progress of the check. rebuild Requires two arguments, controller and physdrive as specified in the output of the status command. All system drives using space on the physical drive physdrive are rebuilt, reconstructing all data on the drive. Note that each controller can only perform one rebuild at a time. This command returns immediately; use the status command to monitor the progress of the rebuild. config Print the current configuration from the nominated controller. This command will be updated to allow addition/deletion of system drives from a configuration in a future release. help Print usage information for command. AUTHORS
The mlxcontrol utility was written by Michael Smith <msmith@FreeBSD.org>. BUGS
The config command does not yet support modifying system drive configuration. Error log extraction is not yet supported. BSD
April 10, 2000 BSD
All times are GMT -4. The time now is 08:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy