Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
/ ics-time-shifter Public archive

Shifts events in an ICS file by a specified time

License

Notifications You must be signed in to change notification settings

Jofagi/ics-time-shifter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ics-time-shifter

Shifts events in an ICS file by a specified time.

This was created to move the events of an ICS file, supplied by a third party, so the default reminder of the mobile phone's calendar app could be used. Manually modifying each event of the calendar on the phone was no longer necessary.

USAGE

shifter.py [-h] [-v] [-V] -d DELTA -o OUTPATH [-f OVERWRITE] path

  path                  file path
  -h, --help            show this help message and exit
  -v, --verbose         set verbosity level
  -V, --version         show program's version number and exit
  -d DELTA, --delta DELTA
                        hours to shift by
  -o OUTPATH, --output OUTPATH
                        output file
  -f OVERWRITE, --force-overwrite OVERWRITE
                        overwrite output file if it exists

EXAMPLES

  1. shift events 12 hours backward:
    python shifter -d -12 -o events_earlier.ics events.ics
    
  2. shift events 12 hours forward:
    python shifter -d 12 -o events_later.ics events.ics
    

COPYRIGHT

Created by Jofagi on 2014-03-20. Copyright 2014 Jofagi. All rights reserved.

Licensed under the MIT License http://opensource.org/licenses/MIT

Distributed on an "AS IS" basis without warranties or conditions of any kind, either express or implied.

About

Shifts events in an ICS file by a specified time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages