summaryrefslogtreecommitdiff
path: root/.config/nushell/documents.nu
diff options
context:
space:
mode:
Diffstat (limited to '.config/nushell/documents.nu')
-rw-r--r--.config/nushell/documents.nu4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nushell/documents.nu b/.config/nushell/documents.nu
new file mode 100644
index 0000000..3293d70
--- /dev/null
+++ b/.config/nushell/documents.nu
@@ -0,0 +1,4 @@
+export def scan [] {
+ sudo scanimage --format=pdf --output-file $"/mnt/files/Documents/Scans/(date now | format date "%FT%T").pdf" --progress
+}
+