I use a Mac running OSX El Capitan = UNIX user the hood. After rearranging files on an external hard drive, I ended up with a folder in the trash containing a file called "~INITPicker 2.0". I cannot empty the trash, and so delete the file. I even tried terminal, using the rm file command and recursively remove folder command, all to no avail. I cannot re-name the offending file, as it tells me I can't. I think the problem is with the tilde in the name. Can any clever soul tell me how to delete this file using terminal (the Mac's command line utility)?
I'm not a OSX expert but, as with generic Unix/Linux, if all else fails, nuke the inode. The inode is the only route that the OS can find the file. If the inode doesn't exist, neither does the file.
Read Corona688's post#2.
If Corona688 is on here today with luck he may well chip in.
---------- Post updated at 07:29 PM ---------- Previous update was at 07:16 PM ----------
And don't forget you can have the same inode number on different filesystems. So make absolutely sure which filesystem you are operating on.
sent from my HTC smartphone
These 2 Users Gave Thanks to hicksd8 For This Post:
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)
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)
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)
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)
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)
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)
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)
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)