20
submitted 1 year ago* (last edited 1 year ago) by PumpkinDrama@reddthat.com to c/linux@lemmy.ml

Are there any CLI tools like zoxide that allow to quickly find recently opened files by fuzzy search instead of directories?

you are viewing a single comment's thread
view the rest of the comments
[-] PumpkinDrama@reddthat.com 4 points 1 year ago* (last edited 1 year ago)

Related idea:

https://reddthat.com/post/7516312

To manage temporary files in Linux, a Bash script can move files untouched for 10 days to a timestamped subfolder, return modified files to the root, and delete files not modified for 90 days. Alternatively, a folder with symlinks to recently accessed files can be created using mkdir, find with -atime -7 to locate recently accessed files, and a while loop with ln -s to symlink each file into the folder. Both approaches help organize files based on access time to avoid clutter and remove stale temporary files. The Bash script offers more automation while the symlink folder provides a manual way to access recent files.

this post was submitted on 07 Nov 2023
20 points (95.5% liked)

Linux

48214 readers
1329 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS