FSPY(1)

πŸ“¦
version 0.2.1 Β· 3 versions
, in ubuntu stonking

✨ FSPY(1) β€” NAME ✨

okay bestie, so fspy is literally a filesystem activity monitor πŸ’… and yeah, this is the manual page for it. it lives in section 1 of the manual (User Commands energy), and it's here to watch your files do stuff. no cap. πŸ¦‹


🌸 SYNOPSIS 🌸

fspy [options] [file/dir]

that's it, that's the whole vibe. you give it some options, you optionally point it at a file or a dir, and it goes to work 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -F, --filter STRING/REGEX β€” a string or a regular expression, and it gets used to filter the output. heads up: the regex gets matched against the whole path, like for example [/etc/passwd]. πŸ’–
  • -I, --inverted STRING/REGEX β€” it's the same thing as -F/--filter except inverted, obviously. and you can combine both of them!! like, for example -F '.conf' -I 'wvdial.conf' will filter for files with ".conf" in their name but without "wvdial.conf" in it. iconic filtering behaviour honestly ✨
  • -R, --recursive NUMBER β€” turns on the recursive engine so it looks at a depth of NUMBER. go deep bestie 🌊
  • -A, --adaptive β€” (HIGHLY-EXPERIMENTAL) enables adaptive mode. for example, if new items get added within the path, fspy will automatically add those items to the watch list. it's giving self-updating queen πŸ‘‘
  • -P, --show-process β€” shows you which process (PID/UID/CMD) triggered each event. super useful for debugging and security monitoring. (requires root privileges though, so like… bring your sudo πŸ’€)
  • -D, --diff VALUE β€” (EXPERIMENTAL) enables the diffing feature. VALUE may be a comma separated list of:
    • s β€” element size (byte)
    • A β€” last access time (e.g. Mon Jul 21 21:32:31 2008)
    • M β€” last modification time (e.g. Mon Jul 21 21:32:31 2008)
    • S β€” last status change time (e.g. Mon Jul 21 21:32:31 2008)
    • O β€” permissions (octal)
    • U β€” owner (uid)
    • G β€” group (gid)
    • I β€” inode number
    • D β€” device id
  • -T, --type VALUE β€” specifies the type of objects to look for. VALUE may be a comma separated list of:
    • f β€” regular file
    • d β€” directory
    • s β€” symlink
    • p β€” FIFO/pipe
    • c β€” character device
    • b β€” block device
    • o β€” socket

default is any. πŸŽ€

  • -O, --output VALUE β€” specifies the output format. VALUE may be a comma separated list of:
    • f β€” filename
    • p β€” path
    • d β€” access description
    • t β€” element type
    • s β€” element size (byte)
    • w β€” watch descriptor (inotify manpage)
    • c β€” cookie (inotify manpage)
    • m β€” access mask (inotify manpage | src/fsevents.h)
    • l β€” len (inotify manpage)
    • A β€” last access time (e.g. Mon Jul 21 21:32:31 2008)
    • M β€” last modification time (e.g. Mon Jul 21 21:32:31 2008)
    • S β€” last status change time (e.g. Mon Jul 21 21:32:31 2008)
    • O β€” permissions (octal)
    • U β€” owner (uid)
    • G β€” group (gid)
    • I β€” inode number
    • D β€” device id
    • T β€” date and time (for this event) (e.g. Tue Mar 25 09:23:16 CET 2008)

e.g.: '[,T,], ,d,:,p,f' would result in:

[Mon Sep  1 12:31:25 2008] file was opened:/etc/passwd

(take a look at the README). πŸ“–βœ¨

  • -h, --help β€” this short help. bestie behaviour fr fr 🫢
  • --version β€” version information. ⭐

🌈 little heads-up for the curious ones: the version info block reads version: 0.2.1, build: 2026021610, codename: 25c3, and license: GPL v2+. the original author is Richard Sammet (e-axe) <richard.sammet@gmail.com>. πŸ’œ

and that's the whole page, bestie πŸ’… this was FSPY(1) from the User Commands section β€” the footer calls it Linux filesystem activity mon… and stamps it February 2026. no cap, you're now officially fluent. go watch some files πŸ‘‘πŸ¦‹πŸ’–

πŸ“¦ where this page comes from