Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear on Debian dar version #2

Open
g8ecj opened this issue Jan 19, 2017 · 6 comments
Open

Unclear on Debian dar version #2

g8ecj opened this issue Jan 19, 2017 · 6 comments

Comments

@g8ecj
Copy link

g8ecj commented Jan 19, 2017

Standard Jessie install has dar-2.4.15, gdar require > 2.4.8 but configure complains
configure: error: Package requirements (libdar >= 5.3.0) were not met:
No package 'libdar' found

locate libdar returns
/usr/lib/libdar64.so.5000
/usr/lib/libdar64.so.5000.6.2
which has confused me even more!!
Can you help?

@peckto
Copy link
Owner

peckto commented Jan 19, 2017

Hi,

First you need to check if you have installed the development files for libdar (libdar-dev).
Additionally you must enable the configure switch --enable-libdar64
because Debian and Ubuntu uses the 64 bit version of libdar.

I hope that solvers you problem.

@peckto
Copy link
Owner

peckto commented Jan 19, 2017

You can also install gdar as a packet:
https://software.opensuse.org/download.html?project=home:peckto&package=gdar

@g8ecj
Copy link
Author

g8ecj commented Jan 20, 2017

All built now but having issues with the UI in so far as there is a button on the top right with no label that I can toggle on/off but I've no idea what it does.
I'm running under KDE so maybe I'm missing some sort of hover tooltip that would appear in unity/gnome
When I extract I get the full path so I can't restore a sub-directory, only the complete tree.

@peckto
Copy link
Owner

peckto commented Jan 20, 2017

The toggle button shows or hides hidden files, this has no influence on the extraction process,
hidden files are always extracted. But you are right, I should add a tooltip, thanks.

You extract that file or folder you have selected.
At the moment, the full path to the selected item is restored at the destination.
I'm planing to add an option to change this behaviour.
When using dar, you can use the option --flat
Was this your question?

You can also get more information about gdar on the gdar website:
http://peckto.de/gdar/

@g8ecj
Copy link
Author

g8ecj commented Jan 23, 2017

Many thanks for your time - gdar has made the extraction of files a lot simpler. I now have a working copy of Eclipse again after a bad update!!

I don't think the 'flat' option is quite what I had in mind. I read this as meaning that ALL files are restored to a single directory whereas I as thinking of restoring a part of the backup tree (a branch?) to a directory with the original structure maintained but with the prefix removed.

@peckto
Copy link
Owner

peckto commented Jan 23, 2017

I'm glad I could help you.

You are right about the 'flat' option. Unfortunately I could not find a 'remove prefix' option for dar.
This option could be quite useful, I will ask the dar developer about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants