Skip to content

Commit

Permalink
add shell function to migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
fliiiix committed Apr 23, 2017
1 parent 851b5e6 commit 7f4b7ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,9 @@ Each item should have a guid which is saved to `$podcastname/.guid_cache` where
downloaded podcast. The format for it is `%Y_%m_%d %H:%M|GUID` the date is the download time.

To migrate from 0.1 to 0.2 or later just add `XXXX_XX_XX XX:XX|`.

This should do the trick

```
for f in $(find . -name .guid_cache); do sed -i -e 's/^/XXXX_XX_XX XX:XX|/' $f; done
```

0 comments on commit 7f4b7ce

Please sign in to comment.