diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-11-02 10:03:50 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-11-02 10:03:50 -0200 |
commit | d3d70fcd08486fbe52e8633113ed0d9c11e5e0c5 (patch) | |
tree | 6d9dc84e766c5cd6baa8cb9322639c977d37c3f1 /share | |
parent | 6f2622530468574a79dbe950c033cbf73f4060de (diff) | |
download | hydra-d3d70fcd08486fbe52e8633113ed0d9c11e5e0c5.tar.gz hydra-d3d70fcd08486fbe52e8633113ed0d9c11e5e0c5.tar.bz2 |
Sync-media: playlist handling
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/sync-media | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media index c486ff7..a63f782 100755 --- a/share/hydractl/sync-media +++ b/share/hydractl/sync-media @@ -35,6 +35,11 @@ function sync_media_identity { function sync_media_add { git annex add . + # Handle playlists which are generally not managed by git-annex + if [ -d "playlists" ]; then + git add playlists + fi + # Adding hidden files and symlinks, git+while version git status --porcelain -u | sed -e 's/?? //' | while read file; do if [ -h "$file" ]; then |