aboutsummaryrefslogtreecommitdiff
path: root/files/imv-folder
diff options
context:
space:
mode:
authorsomini <dev@somini.xyz>2020-02-16 16:47:05 +0000
committerHarry Jeffery <harry@exec64.co.uk>2021-07-08 23:30:24 +0100
commit673e54710af0e9d428df498ecadb3735a689bb17 (patch)
tree13e9261c6d08e047c9aaae13cf5dcce9bc9f3576 /files/imv-folder
parent38eee61bebf266af1ae5b652508134ce613295c5 (diff)
downloadimv-673e54710af0e9d428df498ecadb3735a689bb17.tar.gz
Keep the folder order when using imv-folder
Guaranteed-ish by most shells, see https://unix.stackexchange.com/a/368507. See #229
Diffstat (limited to 'files/imv-folder')
-rwxr-xr-xfiles/imv-folder2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/imv-folder b/files/imv-folder
index c08f339..8f90fc2 100755
--- a/files/imv-folder
+++ b/files/imv-folder
@@ -1,3 +1,3 @@
#!/bin/sh
image="$1"
-exec imv "$(dirname "$image")" -n "$image"
+exec imv "$(dirname "$image")"/* -n "$image"