aboutsummaryrefslogtreecommitdiff
path: root/find
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-03 00:37:03 +0200
committerMateja <mail@matejamaric.com>2021-04-03 00:37:03 +0200
commita945feb02f6d64df2219ea1044251a7fe2ea98fc (patch)
treefe0242495eb35317fd5358e403a047657dfa04b5 /find
downloadmisc-a945feb02f6d64df2219ea1044251a7fe2ea98fc.tar.gz
misc-a945feb02f6d64df2219ea1044251a7fe2ea98fc.zip
Initial commit.
Diffstat (limited to 'find')
-rw-r--r--find2
1 files changed, 2 insertions, 0 deletions
diff --git a/find b/find
new file mode 100644
index 0000000..a7e72ea
--- /dev/null
+++ b/find
@@ -0,0 +1,2 @@
+# Find files by file ext and sort them by date and time:
+sudo find . -name *.ods -printf "%AD %AT %p\n" | sort -k1.8n -k1.1nr -k1