Matteo Cypriani
82011595c0
prefixsubdirs: add exception for "."
2021-08-26 00:05:58 +02:00
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.
2020-11-20 09:01:38 +01:00
Matteo Cypriani
9ba0a794aa
[file_utils] fix python shebang & run prospector
...
prospector is still complaining about bare excepts in unln.py.
2018-04-12 18:34:51 +02:00
Matteo Cypriani
cc66a46cc1
mvparent: rename variables, shellcheck
2018-04-11 21:09:21 +02:00
Matteo Cypriani
bd52bca0e2
mvparent: reindent with 4 spaces
2018-04-11 20:59:48 +02:00
Matteo Cypriani
b08187c113
Add file_utils/prefixsubdirs.sh
2018-04-11 20:55:01 +02:00
Matteo Cypriani
d9fd78cdee
More markdownification of READMEs
2017-09-23 00:27:51 -04:00
Matteo Cypriani
336f9160f7
[file_utils] mvparent: don't overwrite files
...
Use mv's -n option to avoid overwriting files.
2016-01-22 14:53:52 +01:00
Matteo Cypriani
071c283091
[file_utils] README: add note about CD-R capacity
2014-06-02 21:21:00 -04:00
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.
2014-06-01 22:48:28 -04:00
Matteo Cypriani
f67cb3253a
[file_utils] dirpacker: fix verbose list printing
2014-06-01 21:53:42 -04:00
Matteo Cypriani
3148df9356
[file_utils] unln: typos
2014-06-01 21:46:29 -04:00
Matteo Cypriani
718d4c5c95
[file_utils] dirpacker: --machine-readable
...
The option --machine-readable allows to print the list of bins in a
machine-readable format.
2014-06-01 21:43:27 -04:00
Matteo Cypriani
235a22aba1
[file_utils] dirpacker: rework message printing
2014-06-01 21:26:00 -04:00
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.
2014-06-01 21:23:04 -04:00
Matteo Cypriani
e382dace97
[file_utils] mvparent: allow multiple arguments
2014-06-01 20:47:36 -04:00
Matteo Cypriani
83e5bfddeb
[file_utils] dirpacker: refactoring (class Bin)
2014-05-31 18:57:00 -04:00
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).
2014-05-31 15:45:14 -04:00
Matteo Cypriani
9d58956e77
Fix some typos; add TODO for just-play-something
2014-05-30 15:27:46 -04:00
Matteo Cypriani
199ebd9d68
[file_utils] unln: option --dereference
2013-04-09 20:04:00 -04:00
Matteo Cypriani
4533f40d58
[file_utils] unln: handle options with argparse
...
Remove the now useless error() function.
Add options --verbose and --sync.
2013-04-09 14:36:35 -04:00
Matteo Cypriani
eb37c52e8c
[file_utils] unln: handle exceptions, list errors
2013-04-09 00:49:29 -04:00
Matteo Cypriani
7879f04f15
[file_utils] unln: improve warn() and error()
2013-04-09 00:22:29 -04:00
Matteo Cypriani
d77897fd5c
[file_utils] unln: sync after copy
2013-04-08 23:25:50 -04:00
Matteo Cypriani
7f6d75cd64
[file_utils] Add unln.py
2013-04-08 23:16:33 -04:00
Matteo Cypriani
104cb29ace
Rename mvparent --> file_utils to be more general
2013-04-08 22:07:29 -04:00