I get this error :
.config/google-chrome/Default/Bookmarks.bak: Permission denied
How can I get acces? I want to be able to change the name in bookmarks, as to restore the bookmarks folder I cut and lost in Chrome. It's a months work in bookmarks and I need it for my study. Anyone please?
ls -l .config/google-chrome/Default/Bookmarks.bak. – mikewhatever Sep 22 '15 at 09:58ninti? – AJefferiss Sep 22 '15 at 10:26ninti, you should have no problem opening the file with e.g.gedit ~/.config/google-chrome/Default/Bookmarks.bak. Otherwise, dosudo chmod a+r ~/.config/google-chrome/Default/Bookmarks.bak. – Jos Sep 22 '15 at 10:27bookmarks.bakfile was just created as copy of a formerbookmarksfile, you should be fine. Maybe you want to rename the currentbookmarksfile tobookmark.bak2first, in case it goes wrong? – Byte Commander Sep 22 '15 at 10:34geditis just one of the programs you can use to open and/or edit the file. There are others. First, back up your current Bookmarks file (even though it seems useless now):cd ~/.config/google-chrome/Defaultfollowed bycp Bookmarks Bookmarks-old. Then, rename the backup file:mv Bookmarks.bak Bookmarks. – Jos Sep 22 '15 at 10:36(gedit:5838): Gtk-WARNING **: Inhibit called with an unrealized window
– Saskia Sep 22 '15 at 10:50geditwill take the arguments you've given it as files to open. So you've toldgeditto open themv,Bookmarks.bakandBookmarksfiles. Themvcommand should should just bemv Bookmarks.bak Bookmarks, see my answer. – AJefferiss Sep 22 '15 at 10:55