aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorEinhard Leichtfuß <alguien@respiranto.de>2018-04-02 04:01:47 +0200
committerEinhard Leichtfuß <alguien@respiranto.de>2018-04-02 04:09:53 +0200
commit4a4cd8e85cb0851f5d7056098f5112b9016794ad (patch)
tree88fa3142163f6293903d91ce2b3d978b1a5cf2fd /TODO
Initial commit
Diffstat (limited to 'TODO')
-rw-r--r--TODO38
1 files changed, 38 insertions, 0 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..c9b9900
--- /dev/null
+++ b/TODO
@@ -0,0 +1,38 @@
+# -- TODO -- #
+- Make both remote source and destination possible.
+ `- Therefore, one could analyze the respective path strings.
+- Replace echo by printf(-functions).
+- Set up default configuration file.
+- When installing, copy the config file to both /etc and /usr/share,
+ such that sourcing from the latter location removes the need to specify
+ default options in the script itself.
+- Test for read/write access at some point.
+- Better error reporting.
+- Write an install script or such.
+- Delete 'too new' symlinks in by_number.
+- Per dirpath rsync_args.
+
+# -- PROBLEMS -- #
+- Permissions.
+ `- Suppress error output by 2>/dev/null.
+ `- Save errors in a var by 'var="`cmd 2>&1`"'.
+ `- Better: Print different error-text (test $? -gt 0).
+ `- Or: Simply leave it as is.
+ `- Best(?): test -r (read access)
+- No read-access
+ `- to $bakpath/...
+ `- to $dirpath/...
+ `- Solutions similar to 'permissions' above.
+- No write access to $dirpath/...
+ `- Maybe check by running chown / test -w.
+ `- Should return errors if not possible.
+ `- One could offer an exit option to the user
+ `- or auto fix using sudo.
+- Commands like mkdir can fail! - e.g. due to missing permissions.
+
+# -- IDEAS -- #
+- colorized Output.
+ `- optional (-c)
+- Use Hexadecimal numbers for by_number.
+- Verbosity option.
+ `- For now, -v or -vv in rsync_args should work fine.