cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 馃崈
charm
leaflet
readability
golang
1---
2title: Batch Operations
3sidebar_label: Batch Ops
4description: Use shell scripting patterns for mass task edits.
5sidebar_position: 8
6---
7
8# Batch Operations
9
10While Noteleaf doesn't have built-in bulk update commands, you can use shell scripting for batch operations:
11
12**Complete all tasks in a project**:
13
14```sh
15noteleaf task list --project old-project --static | \
16 awk '{print $1}' | \
17 xargs -I {} noteleaf task done {}
18```
19
20**Add tag to multiple tasks**:
21
22```sh
23for id in 1 2 3 4 5; do
24 noteleaf task update $id --add-tag urgent
25done
26```