Mac OS forum

General discussion

Replacing an invisible file

Hi everyone,

I tried replacing an invisible file and of course got an error, saying the file can not be replaced because it is invisible.

I used some apps to show the hidden files and although i definitely saw more files, the file i tried to replace was still hidden. And I could not replace it again.

Can you help me with a method of showing all the invisible files or forcing a replacement of an invisible file?

Thank you

Discussion is locked
You are posting a reply to: Replacing an invisible file
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Replacing an invisible file
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -

In reply to: Replacing an invisible file

Did you try placing the original in the trash and then just putting the new one where it was. That should work around replacement issues.

Granted invisible files are invisible for a reason. What file are you trying to replace. It could cause issues if not done correctly.

Collapse -
Should not be necessary

In reply to: Delete

this should not be necessary, nor do you need to know what file it is. He wants to replace it, he is asking how to do so efficiently. OSx needs to allow power users to have authority on their systems. In my case, it is an eclipse project file, and it is a waste of my time to delete it first. And how should it be "done correctly"??? I have a file, and I wish to overwrite another file with it. That is my choice. If it saves and overwrites the original file, then it was done correctly. If it throws a useless error preventing from using my system, then it is not "done correctly". big fail on Apple's part here.

Collapse -
I've heard such from newer programmers.

In reply to: Should not be necessary

As they season they automate things like this.

Collapse -
Vetran programmer

In reply to: I've heard such from newer programmers.

I have been programming for 19 years. I have never used macs and am now forced to use this garbage because of a "corporate policy" in a certain company. I have never see a more non-friendly UI in my life. I am the user. I want to overwrite a file. Because I do. You don't care why, Apple doesn't care why. Because I am the programmer. I say overwrite it. So warn me that it exists and do it. This is how REAL COMPUTERS work.

Collapse -

In reply to: Vetran programmer

Had to write a script to force it to my will. iOS and Mac OS X is different but there's always a script or such to automate such things.

Collapse -

In reply to: BT.

so sad that now we design computers and operating systems for the least common denominator.

have been using macs for a little over a year now. I'm disgusted. I will never spend my own money on these overpriced pieces of slag.

Collapse -
Why do I keep up the effort.

In reply to: sad

Green stuff from the office makes me put up with the hoops I have to jump.

I don't know exactly what's up with your issue but there are file and folder permissions that might be tweaked but that's not up for discussion here.

Collapse -
It's getting interesting.

In reply to: Vetran programmer

The GUI doesn't you allow to do it. Then you, as a veteran programmer, most likely know how to use Terminal to do what you want.

After all, MacOS X is based on Unix. And it makes some sense that certain specialised things are not accessible via the GUI for everybody, but only (via Terminal) for the experts like you. sudo makes you nearly God.

That's better than Windows. Ever tried to rename the GWX folder in Windows from the GUI (Windows Explorer) to get rid of Windows 10 upgrade message? Not allowed. Then from the command prompt, run as administrator. Not allowed. You have to be TrustedInstaller to do it, so you can't. That's Windows. I had to boot to Linux to rename a folder! How come I think you find a Windows PC not a REAL COMPUTER either. Real computers let YOU be the boss.

Collapse -
how is this relevant?

In reply to: It's getting interesting.

You refer to a very rare case of renaming a certain folder which is critical to the windows OS, and then act as though that is even remotely the same scenario as replacing an invisible file.

It's not. But I do agree with you on one point. REAL computers let YOU be the boss. It does not let me replace an invisible file? not a real computer. It is a toy. A pretty, shiny, overpriced toy computer.

They can't even implement the home/end keys correctly. Don't get me started!!!!!

Collapse -
Apple had a leader.

In reply to: how is this relevant?

That mandated what those keys do. Why not get started? I've run into die hard programmers that want the OS to stand aside on files.

Windows has its SFP, here we are on a MACH Kernal with a file system we should be able to set permissions but sadly I feel you are venting.

Command line, permissions and scripts should nail this one.

Collapse -
when you need a script to delete

In reply to: Apple had a leader.

when you need a script to properly delete a file then the "mac experience" sounds to me like more of a nightmare than the "dream computing experience" that Apple purports it to be. Out of the box, cannot overwrite an invisible file - this is garbage. the only reason for a file not to be overwritten is permissions. Invisibility is not a "permission". OSx is a steaming pile of dung.

Collapse -
That's not what I expect from seasoned programmers.

In reply to: when you need a script to delete

We get in a huddle and figure out what's up.

There are some programmers that flame only.

Collapse -
seasoned programmers do not use osx

In reply to: That's not what I expect from seasoned programmers.

We use linux or windows. WE have no need for a psuedo-os marketed at 60 year old grandmas. This is not flame. This is publicly showing the world how ridiculous it is to pretend that osx is anything resembling a modern os. It is long overdue that the programming community revolt against Apple and their crap-ware.

Collapse -
That's news to me.

In reply to: seasoned programmers do not use osx

When you are ready to talk shop, I'm over on

Here you are burning off the ire. When you are ready, there are many fine programmers on OS X, Linux, Windows and more.

Collapse -
that's nice

In reply to: That's news to me.

The only thing I am ready for is to continue speaking out against osx in any and every public forum possible. It has fragmented the standards of how a computer should behave and adds no redeeming value for the common user.

Collapse -
Re: critical

In reply to: how is this relevant?

It's not critical at all. Windows runs perfectly fine if you delete or rename that folder. It's a Microsoft marketing ploy, because they want me to install Windows 10 on MY computer.

Collapse -

In reply to: Re: critical

they want to give you a new operating system for FREE. the nerve of them. They should be shot at dawn.

now let's get back to the original issue. osx cannot overwrite an invisible file.

I have yet to see a single difference between OSx and Windows/Linux that is beneficial to the user.

Collapse -
Re: eclipse

In reply to: Should not be necessary

Collapse -

In reply to: Re: eclipse

The only waste of time here is you looking up that silly stack overflow article. I needed to overwrite a project file due to a bad merge b/c of a net issue. I had to overwrite it with a known good copy. OSx is a child's toy and is absolutely useless for real computer use. like I said, WHY i have to overwrite the file is irrelevant. I have to overwrite it. Because I want to. If an OS cannot permit me to do that simple operation then it is quite simply, garbage.

Collapse -
how exactly?

In reply to: Should not be necessary

And how, pray tell do you suggest that I "automate" this?

<ctrl> c /<ctrl> v works on every other OS on the planet. Why must osx be so pridefully inefficient?

Why people pay EXTRA for such a backwards system, I will never understand

Popular Forums

Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Best Black Friday Deals

CNET editors are busy culling the list and highlighting what we think are the best deals out there this holiday season.