Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TIMEW-IMPORT(1) 		  User Manuals			 TIMEW-IMPORT(1)

NAME
     timew-import - import time-tracking data from files

SYNOPSIS
     timew import [<file>...]

DESCRIPTION
     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-ex-
     port(1), i.e. a single array with interval objects.

     When importing, the intervals are checked for overlaps with existing inter-
     vals.  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  im-
     porting.

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

EXAMPLES
     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.

timew 1.9.1			   2025-08-27			 TIMEW-IMPORT(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=timew-import&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help