-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyaylog.1
192 lines (186 loc) · 4.41 KB
/
yaylog.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
.\" Man page for yaylog
.TH yaylog 1 "February 2025" "yaylog 3.9.0" "User Commands"
.SH NAME
yaylog \- List and filter recently installed packages on Arch-based systems.
.SH SYNOPSIS
.B yaylog
.RI [ \-n | \-\-number <number> ] [ \-e | \-\-explicit ] [ \-a | \-\-all ] [ \-d | \-\-dependencies ] [ \-\-date <filter> ] [ \-\-size <filter> ] [ \-\-name <search-term> ] [ \-\-sort <mode> ] [ \-\-full-timestamp ] [ \-h | \-\-help ]
.SH DESCRIPTION
.B yaylog
is a standalone CLI utility for Arch and Arch-based Linux distributions to list and filter recently installed packages. It works with any package manager based on pacman
including
.B yay,
.B paru,
and others.
The utility provides options to filter by explicitly installed packages, dependencies, installation dates, package sizes, and package names. It also supports sorting results by date, alphabetical order, or size.
.SH OPTIONS
.TP
.B \-n, \-\-number <number>
Display the specified number of recent packages (default: 20). Ignored if
.B \-a
or
.B \-\-all
is used.
.TP
.B \-e, \-\-explicit
Show only explicitly installed packages.
.TP
.B \-d, \-\-dependencies
Show only packages installed as dependencies.
.TP
.B \-a, \-\-all
Show all installed packages, ignoring the
.B \-n
or
.B \-\-number
option.
.TP
.B \-v
Show the current version of each installed package.
.TP
.B \-\-date <filter>
Filter packages by installation date. Supports exact dates and ranges:
.IP
.B YYYY-MM-DD
: Show packages installed on the specified date.
.IP
.B YYYY-MM-DD:
: Show packages installed on or after the specified date.
.IP
.B :YYYY-MM-DD
: Show packages installed up to the specified date.
.IP
.B YYYY-MM-DD:YYYY-MM-DD
: Show packages installed within a date range.
.TP
.B \-\-size <filter>
Filter results by package size. Supports exact sizes and ranges:
.IP
.B 10MB
: Show packages exactly 10MB in size.
.IP
.B 5GB:
: Show packages 5GB and larger.
.IP
.B :20KB
: Show packages up to 20KB.
.IP
.B 1.5MB:2GB
: Show packages between 1.5MB and 2GB.
.IP
Valid units are B (bytes), KB, MB, or GB.
.TP
.B \-\-name <search-term>
Filter packages by name. Performs a substring match against package names.
For example, searching
.B python
will match both
.B python
and
.B python-pip.
.TP
.B \-\-sort <mode>
Sort results by the specified mode. Available modes:
.IP
.B date
(default): Sort by installation date.
.IP
.B alphabetical
: Sort alphabetically by package name.
.IP
.B size:asc
: Sort by package size in ascending order.
.IP
.B size:desc
: Sort by package size in descending order.
.TP
.B \-\-full-timestamp
Display the full timestamp (date and time) of package installations instead of just the date.
.TP
.B \-\-no-progress
Force disable progress bar outside non-interactive environments.
.TP
.B \-h, \-\-help
Display help information.
.SH EXAMPLES
.TP
Show the last 10 installed packages:
.PP
.EX
yaylog -n 10
yaylog --number 10
.EE
.TP
Show all explicitly installed packages installed after January 1, 2024:
.PP
.EX
yaylog -e --date 2024-01-01:
.EE
.TP
Show only dependencies installed between July 1, 2023, and December 31, 2023:
.PP
.EX
yaylog -d --date 2023-07-01:2023-12-31
.EE
.TP
Show packages between 500KB and 5MB installed up to June 30, 2024:
.PP
.EX
yaylog --size 500KB:5MB --date :2024-06-30
.EE
.TP
Show packages larger than 1GB installed on December 1, 2024:
.PP
.EX
yaylog --size 1GB: --date 2024-12-01
.EE
.TP
Show all packages sorted by size in descending order, installed after January 1, 2024:
.PP
.EX
yaylog -a --sort size:desc --date 2024-01-01:
.EE
.TP
Show packages up to 50MB sorted alphabetically:
.PP
.EX
yaylog --size :50MB --sort alphabetical
.EE
.TP
Search for installed packages containing "python":
.PP
.EX
yaylog --name python
.EE
.TP
Search for explicitly installed packages containing "lib" that are between 10MB and 1GB in size:
.PP
.EX
yaylog -e --name lib --size 10MB:1GB
.EE
.TP
Search for packages containing "linux" that were installed between January 1 and June 30, 2024:
.PP
.EX
yaylog --name linux --date 2024-01-01:2024-06-30
.EE
.TP
Search for packages containing "gtk" that were installed after January 1, 2023, and are at least 5MB in size:
.PP
.EX
yaylog --name gtk --date 2023-01-01: --size 5MB:
.EE
.SH AUTHOR
Written by Fernando Nunez <me@fernandonunez.io>.
.SH LICENSE
This project is licensed under the MIT License. See the
.B LICENSE
file for details.
.SH BUGS
Report bugs to the GitHub repository:
.UR https://github.com/zweih/yaylog
.LI https://github.com/zweih/yaylog
.UE
.SH SEE ALSO
.B pacman(8),
.B yay(8)