Ask Your Question

Accidentally moved the icon folders

asked 2012-07-13 04:02:14 -0500

dolor gravatar image

So I managed to get gnome tweak system running and changing themes, then I went over to icons and for some reason I can't remember I moved the icon folders in usr/share/icons with this command mv icons ~/.icons

Where did It go? And How can I restore it?

edit retag flag offensive close merge delete


It sounds like you are doing this as root. Be careful!

randomuser gravatar imagerandomuser ( 2013-01-04 10:25:37 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-01-03 09:56:42 -0500

lsatenstein gravatar image

when a folder begins with a dot, the folder is not visible. It is there you can do a cd ~/.icons and then mv the icons from there back to where they belong.

To avoid problems first do a copy, then if the copy is ok, do the delete

The copy would be sudo cp -R * /usr/share/icons/*

If the copy was OK, cd ~/.icons and use rm to clean up for more information in console mode enter man or info as man rm or info rm etc.

edit flag offensive delete link more

answered 2013-01-04 03:35:08 -0500

ztank1013 gravatar image

updated 2013-01-04 03:35:57 -0500

Files and directories starting with a dot (.) are treated as hidden objects.
This is just a convention because such files (and directories) are still there in the filesystem but not shown by default.


ls -lad ~/.icons

to list the currently hidden directory.

Then use

mv ~/.icons /usr/share/

to restore it back to the original location.

edit flag offensive delete link more

Question Tools


Asked: 2012-07-13 04:02:14 -0500

Seen: 434 times

Last updated: Jan 04 '13