summaryrefslogtreecommitdiff
path: root/.config/nushell/documents.nu
diff options
context:
space:
mode:
authorWriterV2 <primary-v2@protonmail.com>2026-04-03 22:46:48 +0200
committerWriterV2 <primary-v2@protonmail.com>2026-04-03 22:46:48 +0200
commita1ec4771740d321df4480e8a7224fa10b59f0569 (patch)
tree5e97e8ced79b4fea057fab6e76f80849c053e401 /.config/nushell/documents.nu
Update repo with git init directly in home dir
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
+}
+