GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TIMEW-IMPORT(1) User Manuals TIMEW-IMPORT(1)

timew-import - import time-tracking data from files

timew import [<file>...]

Import tracked time from file. If no files are specified, the command will read from standard input.

The data to import has to be in JSON format, as exported by timew-export(1), i.e. a single array with interval objects.

When importing, the intervals are checked for overlaps with existing intervals. If an overlap is found, the import will abort at the first overlap and no more intervals are imported, unless the :adjust hint is specified.

In general, it is recommended to create a backup of your data before importing.

:adjust

When given, the imported interval will overwrite any existing intervals that it overlaps with.

Import intervals from a file

Import intervals from a single file:

timew import intervals.json

Any file path that does not start with a / is interpreted as relative to the current working directory.

Import intervals from multiple files

One can also use shell wildcards and absolute paths:

timew import /path/to/intervals/*.json

Import intervals from standard input

Import intervals from stdin:

timew export | ssh <server> 'timew import'

This is especially useful for synchronizing intervals between different machines.

2025-08-27 timew 1.9.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.