aboutsummaryrefslogtreecommitdiff
path: root/symlinks.js
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2022-06-04 16:58:22 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2022-06-04 16:58:22 +0200
commit8faa84d56730bd1fc35b10d3d29db424691e3af5 (patch)
treef5e1e4d6ae6e5fd639f6ddc511fd9cf866789e72 /symlinks.js
parent8a0a187b31a3e0e9b9faed1369441576a2b1d103 (diff)
downloadlocal-nhentai-8faa84d56730bd1fc35b10d3d29db424691e3af5.tar.xz
Generic stats and selectHEADmaster
Diffstat (limited to 'symlinks.js')
-rw-r--r--symlinks.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/symlinks.js b/symlinks.js
deleted file mode 100644
index e7ef204..0000000
--- a/symlinks.js
+++ /dev/null
@@ -1,10 +0,0 @@
-const fs = require("fs").promises
-const info = require("./info")
-
-info.doujins(true)
- .then(doujins => Object.entries(doujins))
- .then(doujins => doujins
- .map(([dirname, data]) =>
- fs.symlink(dirname, data.title, "dir")
- .then(_ => console.log(data.title))
- .catch(_ => {})))