File Operations
Pattern
Section titled “Pattern”f + {scope} + {operation} + {type}Where {type} is f (file) or d (directory).
Operations
Section titled “Operations”| Operation | Description |
|---|---|
rm | Remove (delete) |
mv | Move to a different location |
cp | Copy to a different location |
rn | Rename in place |
Command Table
Section titled “Command Table”| Operation | cwd (c) | repo (r) | global (g) |
|---|---|---|---|
| Remove file | fcrmf | frrmf | fgrmf |
| Remove directory | fcrmd | frrmd | fgrmd |
| Move file | fcmvf | frmvf | fgmvf |
| Move directory | fcmvd | frmvd | fgmvd |
| Copy file | fccpf | frcpf | fgcpf |
| Copy directory | fccpd | frcpd | fgcpd |
| Rename file | fcrnf | frrnf | fgrnf |
| Rename directory | fcrnd | frrnd | fgrnd |
Extension-Filtered Operations
Section titled “Extension-Filtered Operations”File operations also support extension suffixes for file types (not directories):
fcrmfmd # remove markdown file in cwdfrcpfjs # copy JavaScript file in repofgmvfts # move TypeScript file globallyfcrnfsh # rename shell script in cwdSee Extension-Filtered Commands for the full list of supported extensions.
Total Count
Section titled “Total Count”3 scopes × 8 operations (4 operations × 2 types) = 24 file operation commands
Plus 3 scopes × 10 extensions × 4 file operations = 120 extension-filtered operation commands (included in the extension total).