Matteo Cypriani
82011595c0
prefixsubdirs: add exception for "."
2 years ago
Matteo Cypriani
bf675c1808
mvparent: fix moving several dirs with relative paths
...
Moving several directories with relative paths did not work because the
script was not going back to its original working directory.
3 years ago
Matteo Cypriani
9ba0a794aa
[file_utils] fix python shebang & run prospector
...
prospector is still complaining about bare excepts in unln.py.
6 years ago
Matteo Cypriani
cc66a46cc1
mvparent: rename variables, shellcheck
6 years ago
Matteo Cypriani
bd52bca0e2
mvparent: reindent with 4 spaces
6 years ago
Matteo Cypriani
b08187c113
Add file_utils/prefixsubdirs.sh
6 years ago
Matteo Cypriani
d9fd78cdee
More markdownification of READMEs
6 years ago
Matteo Cypriani
336f9160f7
[file_utils] mvparent: don't overwrite files
...
Use mv's -n option to avoid overwriting files.
8 years ago
Matteo Cypriani
071c283091
[file_utils] README: add note about CD-R capacity
9 years ago
Matteo Cypriani
20a9f40261
[file_utils] dirpacker: --first-bin-number
...
The option --first-bin-number (-n) allows to select the number at which
the numbering of the volumes starts.
9 years ago
Matteo Cypriani
f67cb3253a
[file_utils] dirpacker: fix verbose list printing
9 years ago
Matteo Cypriani
3148df9356
[file_utils] unln: typos
9 years ago
Matteo Cypriani
718d4c5c95
[file_utils] dirpacker: --machine-readable
...
The option --machine-readable allows to print the list of bins in a
machine-readable format.
9 years ago
Matteo Cypriani
235a22aba1
[file_utils] dirpacker: rework message printing
9 years ago
Matteo Cypriani
ace92010ec
[file_utils] dirpacker: --move, --prefix, -v/-q
...
dirpacker can now create a directory for each volume and move the
corresponding files in it (option --move).
The option --prefix allows the user to specify a custom prefix for the
volumes' names.
The options -v (--verbose) and -q (--quiet) enable or disable displaying
the list of volumes.
9 years ago
Matteo Cypriani
e382dace97
[file_utils] mvparent: allow multiple arguments
9 years ago
Matteo Cypriani
83e5bfddeb
[file_utils] dirpacker: refactoring (class Bin)
9 years ago
Matteo Cypriani
61e115c4b9
[file_utils] Add dirpacker.py
...
This program helps grouping a bunch of files into fixed-size volumes
(e.g. to burn them on CD-ROMs).
9 years ago
Matteo Cypriani
9d58956e77
Fix some typos; add TODO for just-play-something
9 years ago
Matteo Cypriani
199ebd9d68
[file_utils] unln: option --dereference
11 years ago
Matteo Cypriani
4533f40d58
[file_utils] unln: handle options with argparse
...
Remove the now useless error() function.
Add options --verbose and --sync.
11 years ago
Matteo Cypriani
eb37c52e8c
[file_utils] unln: handle exceptions, list errors
11 years ago
Matteo Cypriani
7879f04f15
[file_utils] unln: improve warn() and error()
11 years ago
Matteo Cypriani
d77897fd5c
[file_utils] unln: sync after copy
11 years ago
Matteo Cypriani
7f6d75cd64
[file_utils] Add unln.py
11 years ago
Matteo Cypriani
104cb29ace
Rename mvparent --> file_utils to be more general
11 years ago