0

Is there any terminal command which allows the user to input the name of the application along with the command, executing which shows you all the hidden files and folders the app has created or installed on your mac

  • 2
    I don't know about that, but if you are looking for a cleaner way to uninstall apps, I'd recommend AppCleaner. It finds those files that are not removed, when you trash an application. – Joonas Oct 3 '17 at 7:35
  • @Joonas It doesn't – Sayan Oct 3 '17 at 7:37
  • 1
    That's exactly what it does... but I didn't say it is perfect. It does sometimes miss some files. – Joonas Oct 3 '17 at 7:38
  • @Joonas I guess there is a grep command for searching files but I don't have much information about it! – Sayan Oct 3 '17 at 7:47
0

Files created by apps are usually in /Library and subfolders likes Application Support, Caches...

The files are not created by a specific user "AppName" but with your user account rights (or root one for some of them). So there is no way to locate App created files, unless if the app correctly named them.

So you can use the find command like that:

$ find /Libray -name "*AppName*"

http://www.techradar.com/how-to/computing/apple/terminal-101-using-the-find-command-1305633

Grep command can work too:

$ ls -la /Library | grep "AppName"
  • The find finds more than a grep eg if the authors put all their apps under the company name then th app name – user151019 Oct 3 '17 at 12:12
  • Also these find global files not the one in your home directory – user151019 Oct 3 '17 at 12:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .