projects
/
cleanmysourcetree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
59f0559
)
proper attribution
author
Jann Horn
<jann@thejh.net>
Sat, 12 Sep 2015 12:47:33 +0000
(14:47 +0200)
committer
Jann Horn
<jann@thejh.net>
Sat, 12 Sep 2015 12:47:33 +0000
(14:47 +0200)
README
patch
|
blob
|
history
diff --git
a/README
b/README
index
d6582bf
..
576f798
100644
(file)
--- a/
README
+++ b/
README
@@
-1,6
+1,6
@@
This is a helper program to clean unused files from a project source directory.
This is a helper program to clean unused files from a project source directory.
-== Usage ==
+Usage:
cleanmysourcetree <deletenew/keepnew> [<target directory>]
deletenew will cause new files and directories created during the compilation process to be deleted.
If no target directory is given, it defaults to the current directory.
cleanmysourcetree <deletenew/keepnew> [<target directory>]
deletenew will cause new files and directories created during the compilation process to be deleted.
If no target directory is given, it defaults to the current directory.
@@
-9,4
+9,10
@@
If no target directory is given, it defaults to the current directory.
under a different user. In particular if some build process decides to replace an
existing folder with a symlink, things could perhaps get nasty.
under a different user. In particular if some build process decides to replace an
existing folder with a symlink, things could perhaps get nasty.
+Empty directories will not be removed automatically. If you want to get rid of them, run this in the source tree:
+
+ find . -type d -empty -delete
+
This code depends on the uthash library, or whatever you want to call that thing.
This code depends on the uthash library, or whatever you want to call that thing.
+
+The idea for this comes from Joshua J. Drake (jduck).
\ No newline at end of file