td(1) | FreeBSD General Commands Manual | td(1) |
td
—
td |
[-CdeflSuvVx ] [-a
sdt edt desc] [-c
calendar] [-F
fmt] [-i
file] [-I
encoding] [-L
dt] [-n
N] [-r
repetition] [-s
pattern] [-t
timezone] [[cal/]id ...] |
td
is the command-line client of the
TDcal(7) calendar system.
td
allows calendars to be viewed, have
events added, edited and deleted and can import and export events from and
to iCalendar files.
The default operation of td
is to display
forthcoming calendar events for the next two weeks.
The following options modify the behavior as follows:
-a
sdt edt desc-c
option. If the -S
option is given and the calendar type permits, the event is immediately
synchronized to its calendar server.-c
calendar-C
-d
-e
-f
-l
or
-L
or when searching using
-s
, show the calendar name and the event's id
instead of the start and end date/time. Similar to
-F
"%c/%i %t".-F
fmt-l
or
-L
or when searching using
-s
, format the output according to the
fmt specification. fmt is any
string with the following substitutions:
The sequences ‘\t
’ and
‘\n
’ may also be included to
represent TAB and NL characters.
-i
file-c
option.-I
encodingLC_CTYPE
environment variable is used and, if
that's not set, utf-8 is the default.-l
-L
dt-n
Nlperiod
’ value
configured in td(5), or 14 days if no
‘lperiod
’ is configured.-r
repetition-s
pattern-L
and
-n
flags may be used to restrict the start date
and duration of the search period.-S
WARNING: synchronizing calendars can be destructive in that
events as well as whole calendars may be removed based on changes
received from the server. Be sure to have a backup copy of your calendar
data (e.g., using the -e
export flag) before
synchronizing with untested servers.
-t
timezone-a
and
their repetition and exclusion dates/times using
-r
. When importing events using
-i
, the timezone information contained in the
imported file will be used.-u
td
.
Note that if multiple id arguments are given or if
multiple items are are generated from a search, they will be
exported/edited/re-imported separately for each calendar due to it
otherwise being impossible to re-import them back to their correct
calendars.-v
-V
TDcal
version number and exits.-x
calendar/id
’ or
‘collection/calendar/id
’ to name one
specific event, or one or more -c
cal flags can be given to designate calendars and
then id events without calendar names will be
searched for in those calendars.All dt, sdt and
edt arguments are in the format
yyyymnddhhmmss. Optional separation characters
‘/:-
’ and spaces may be used to make
dates more human-readable, for example ‘2013/08/03
10:45:00
’. When adding new calendar items using
-a
, the date may be omitted if it is today. The time
may also be abbreviated to just hhmm (or
hh:mm). When listing events using
-L
, the time may be omitted.
The timezone names are standard system timezones such as UTC, America/New_York, Asia/Bangkok, Europe/Paris, etc.
Event ids are strings containing arbitrary names chosen by the
calendar software that was used to create that event. Use the
-f
flag to list events with their ids. Example ids
might be:
ZVR0FWTUQBHRD9YVFXI2PT a1ff6b23-09a3-4741-92d2-4f6a29c27da9 user-3c6727c_176_c1@mycomputer.example.com
td
:
DISPLAY
EDITOR
-u
flag.HOME
LANG
LC_
variables are not set.LC_CTYPE
LC_TIME
PATH
-u
flag.TMPDIR
-u
flag.TZ
USER
td
utility exits 0 on success,
and >0 if an error occurs.
July 22, 2013 | FreeBSD 13.1-RELEASE-p2 |