forked from adrianlopezroche/fdupes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ncurses interface and necessary build files.
- Loading branch information
1 parent
ac468d9
commit a74d7f1
Showing
31 changed files
with
3,789 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
fdupes | ||
*.o | ||
/Makefile | ||
/Makefile.in | ||
/aclocal.m4 | ||
/autom4te.cache | ||
/compile | ||
/config.h | ||
/config.h.in | ||
/config.log | ||
/config.status | ||
/configure | ||
/depcomp | ||
/install-sh | ||
/missing | ||
/stamp-h1 | ||
.deps | ||
.dirstamp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,33 @@ | ||
Installing fdupes | ||
-------------------------------------------------------------------- | ||
To install the program, issue the following commands: | ||
|
||
make fdupes | ||
su root | ||
make install | ||
|
||
This will install the program in /usr/local/bin. You may change this | ||
to a different location by editing the Makefile. Please refer to | ||
the Makefile for an explanation of compile-time options. If you're | ||
having trouble compiling, please take a look at the Makefile. | ||
|
||
UPGRADING NOTE: When upgrading from a version prior to 1.2, it should | ||
be noted that the default installation directory for the fdupes man | ||
page has changed from "/usr/man" to "/usr/local/man". If installing | ||
to the default location you should delete the old man page before | ||
proceeding. This file would be named "/usr/man/man1/fdupes.1". | ||
|
||
A test directory is included so that you may familiarise yourself | ||
with the way fdupes operates. You may test the program before | ||
installing it by issuing a command such as "./fdupes testdir" | ||
or "./fdupes -r testdir", just to name a couple of examples. Refer | ||
to the documentation for information on valid options. | ||
You're looking at a DEVELOPMENT version of fdupes. If you're not a software | ||
developer or you just want to install the program, this is probably not the | ||
version you want. This version of fdupes is currently in development and | ||
subject to change. The features and functionality present in this version | ||
may not reflect the features and functionality in the final release. | ||
|
||
The easiest way to install fdupes is to use your operating system's package | ||
manager, if available. If that's not an option or you'd prefer to compile | ||
the program yourself (which may sometimes be the only way to obtain the | ||
latest version), you should download a RELEASE version of fdupes and follow | ||
the installation instructions provided with it. | ||
|
||
As of this writing, fdupes releases may be downloaded from: | ||
|
||
https://github.com/adrianlopezroche/fdupes/releases | ||
|
||
If you're a programmer and you wish to use or work on this version of fdupes | ||
you will need to install autoconf and automake on your system and run | ||
|
||
autoreconf --install | ||
|
||
to generate the configure script and other files needed for compilation and | ||
installation. After that you may compile fdupes by running: | ||
|
||
./configure | ||
make | ||
|
||
and install it by running: | ||
|
||
sudo make install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Installing fdupes | ||
-------------------------------------------------------------------- | ||
To build and install the program, issue the following commands: | ||
|
||
./configure | ||
make | ||
sudo make install | ||
|
||
Starting with fdupes 2.0.0, a full-featured installation requires | ||
the following libraries to be installed on your system: | ||
|
||
- ncursesw (ncurses with support for wide characters) | ||
- PCRE2 (Perl Compatible Regular Expressions library) | ||
|
||
Source code for these libraries is available at: | ||
|
||
https://www.gnu.org/software/ncurses/ | ||
https://www.pcre.org/ | ||
|
||
If these libraries are not available on your system or you want to | ||
build fdupes without them, you may instead call configure as: | ||
|
||
./configure --without-ncurses | ||
|
||
followed by "make" and "sudo make install" as before. | ||
|
||
Please note that compiling fdupes without these libraries will | ||
disable the new screen-mode interface for choosing which files to | ||
keep or delete. Without them, fdupes will use an interface like | ||
the one used in previous versions. | ||
|
||
The commands above will build and install fdupes and its | ||
documentation under /usr/local by default. You may change the | ||
install location using: | ||
|
||
./configure --prefix=/your/chosen/path | ||
|
||
followed by "make" and "sudo make install" as before. | ||
|
||
A test directory is included so that you may familiarise yourself | ||
with the way fdupes operates. You may test the program before | ||
installing it by issuing a command such as "./fdupes testdir" | ||
or "./fdupes -r testdir", just to name a couple of examples. Refer | ||
to the documentation for information on valid options. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
bin_PROGRAMS = fdupes | ||
|
||
if NO_NCURSES | ||
fdupes_SOURCES = fdupes.c errormsg.c md5/md5.c fdupes.h errormsg.h md5/md5.h | ||
notrans_dist_man1_MANS = fdupes.1 | ||
|
||
else | ||
fdupes_SOURCES = fdupes.c ncurses-commands.c ncurses-getcommand.c ncurses-interface.c ncurses-print.c ncurses-prompt.c ncurses-status.c commandidentifier.c errormsg.c wcs.c md5/md5.c fdupes.h ncurses-commands.h ncurses-getcommand.h ncurses-interface.h ncurses-print.h ncurses-prompt.h ncurses-status.h commandidentifier.h errormsg.h wcs.h filegroup.h md5/md5.h | ||
dist_man1_MANS = fdupes.1 fdupes-help.1 | ||
|
||
endif | ||
|
||
EXTRA_DIST = testdir CHANGES CONTRIBUTORS | ||
|
||
dist-hook: | ||
if [ -f $(top_srcdir)/INSTALL.enduser ]; then chmod u+w $(distdir)/INSTALL; \cp -f $(top_srcdir)/INSTALL.enduser $(distdir)/INSTALL; fi |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,8 @@ Usage: fdupes [options] DIRECTORY... | |
with -s or --symlinks, or when specifying a | ||
particular directory more than once; refer to the | ||
fdupes documentation for additional information | ||
-P --plain with --delete, use line-based prompt (as with older | ||
versions of fdupes) instead of screen-mode interface | ||
-N --noprompt together with --delete, preserve the first file in | ||
each set of duplicates and delete the rest without | ||
prompting the user | ||
|
@@ -71,7 +73,7 @@ email: [email protected] | |
|
||
Legal Information | ||
-------------------------------------------------------------------- | ||
FDUPES Copyright (c) 1999 Adrian Lopez | ||
FDUPES Copyright (c) 1999-2018 Adrian Lopez | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation files | ||
|
Oops, something went wrong.