#filesystem
21 pages tagged filesystem.
unstructured
Package-level reference for unstructured on PyPI — install variants, the huge extras tree, system-level dependencies, and alternative parsers.
rimraf
Package-level reference for rimraf on npm — install, API, why it still exists in the Node fs.rm era, and migration paths.
platformdirs
Package-level reference for platformdirs on PyPI — install, version policy, alternatives, and the per-OS path conventions it returns.
Pillow
Package-level reference for Pillow on PyPI — install variants, format-specific native deps, version policy, and alternatives.
xcopy
Copy files and directory trees with attribute preservation, date filtering, exclusion lists, and verification. The step between copy and robocopy for most scripting needs.
xattr
Deep-dive on macOS extended attributes — listing, reading, writing, and removing xattrs with xattr(1); the Gatekeeper com.apple.quarantine flag; Spotlight metadata attributes; ACLs via ls -le and chmod +a; preserving attributes on copy with cp -p and rsync -X.
robocopy
Production-grade file and directory synchronisation with mirroring, multi-threading, retry logic, logging, and exclusion filters. The go-to for backup scripts and deployment pipelines on Windows.
rmdir / rd
Delete empty or entire directory trees from the Windows command prompt. Covers the /S and /Q flags, force-removing read-only trees, and safe deletion patterns.
move
Move files to a new location or rename them within the Windows command prompt. Covers single files, wildcards, directory renames, overwrite control, and cross-drive behaviour.
mkdir / md
Create one or more directories from the Windows command prompt. Covers single and nested directory creation, batch patterns, and common scripting idioms.
mdfind
Query macOS's Spotlight index from the shell — fast name, content, and metadata search across the whole filesystem, with scope, attributes, and live-update modes.
dir
Display files and folders in a directory with filtering, sorting, formatting, and recursive traversal options. The Windows cmd.exe equivalent of Unix ls.
del
Delete one or more files from the Windows command prompt. Covers wildcards, quiet mode, attribute overrides, recursive deletion patterns, and the distinction from rmdir.
copy
Copy one or more files to a new location in the Windows command prompt. Covers single-file copy, wildcard batches, file concatenation, and binary vs ASCII modes.
cd
Navigate the Windows command prompt's current working directory. Covers drive switching, absolute and relative paths, UNC paths, and path-with-spaces quoting.
attrib
View and modify Windows file attributes (hidden, read-only, system, archive) from the command line. Covers all attribute flags, recursive operations, and practical recipes for unhiding malware-hidden files and managing backups.
node:fs
Node.js file system module — the three APIs (callback, sync, promises), reading and writing files, directory operations, watchers, atomic writes, and path module pairing.
Filesystems
Core filesystem concepts every operator should know: inodes, directory structure, hard vs symbolic links, journaling, copy-on-write, and a head-to-head of ext4, XFS, Btrfs, ZFS, APFS, and NTFS with mount options and pitfalls.
df, du & duf
Check filesystem free space (df), measure directory sizes (du), and view a colourful disk overview (duf). Covers all key flags, human-readable output, modern alternatives (dust, gdu, ncdu), and common sysadmin recipes.
pathlib
Work with filesystem paths using Python's built-in pathlib module. Covers Path creation, navigation, reading/writing files, glob patterns, and stat.
find
POSIX file finder with capable expression-based filters for name, type, size, time, permissions, and ownership. Covers exec actions, pruning, and real-world recipes.