New redo-sources and redo-targets commands.
Suggested by djb in personal email, and on the mailing list. redo-targets lists all the targets in the database; redo-sources lists all the existing sources (ie. files that are referred to but which aren't targets). redo-ifcreate filenames aren't included in the redo-sources list.
This commit is contained in:
parent
db4c4fc17a
commit
f2d34fa685
6 changed files with 57 additions and 18 deletions
|
|
@ -2,6 +2,10 @@ import os, errno, fcntl
|
|||
from atoi import atoi
|
||||
|
||||
|
||||
def join(between, l):
|
||||
return between.join(l)
|
||||
|
||||
|
||||
def unlink(f):
|
||||
"""Delete a file at path 'f' if it currently exists.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue