From 221da4a9762fa05608a3bf886af54e0dba1f7931 Mon Sep 17 00:00:00 2001
From: Renato Alves <alves.rjc@gmail.com>
Date: Tue, 20 Feb 2018 19:14:42 +0100
Subject: [PATCH] DOC add mv_keep_parents output example

---
 README.rst | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/README.rst b/README.rst
index e15f6ce..4b2b2bc 100644
--- a/README.rst
+++ b/README.rst
@@ -76,3 +76,22 @@ Show status of different clusters::
               sigma        92        10  173.5GiB   90.8GiB     68.54      9.77      0.12
     ---------------  --------  --------  --------  --------  --------  --------  --------
              GLOBAL       220        91    1.3TiB  577.0GiB     61.49     17.56
+
+
+mv_keep_parents
+---------------
+
+Moves (sub)directories keeping folder structure::
+
+    % mv_keep_parents CC/*/reads.filtered.263RefGeneCatalog.padded.solexaqa TO_REMOVE
+
+produced::
+
+    % tree TO_REMOVE
+    TO_REMOVE
+    └── CC
+        ├── CCHB10959853ST-11-0
+        │   └── reads.filtered.263RefGeneCatalog.padded.solexaqa
+        ├── CCHB10961334ST-11-0
+        │   └── reads.filtered.263RefGeneCatalog.padded.solexaqa
+        ...
-- 
GitLab