Can lsyncd be used to sync multiple source directories on different machines to one dest directory?What makes Erlang suitable for soft real-time applications?How to play YouTube videos in sync on multiple clients?Can i sync a Google Fusion table with a public dropbox document?How to communicate between processes in realtime Linux?Real-time video “buffering” to html5 videoUse lsyncd to update a local folder with a remote source?Preserving ownership of file with Lsyncdlsyncd cant use dynamic backup suffixUnderstanding csync2 & lsyncd Syncing MechanismPseudo real-time data stream javascript and php

What is the maximum number of net attacks that one can make in a round?

Is it possible for a vehicle to be manufactured without a catalytic converter?

Why am I getting a strange double quote (“) in Open Office instead of the ordinary one (")?

How does the Around command at zero work?

Can I utilise a baking stone to make crepes?

Moving points closer to polyline using ModelBuilder?

Why didn't Voldemort recognize that Dumbledore was affected by his curse?

What aircraft was used as Air Force One for the flight between Southampton and Shannon?

Why not invest in precious metals?

How is the excise border managed in Ireland?

How to handle (one's own) self-harm scars (on the arm), in a work environment?

Non-aqueous eyes?

Why does logistic function use e rather than 2?

Wooden cooking layout

Should I ask for an extra raise?

Print lines between start & end pattern, but if end pattern does not exist, don't print

What is inside of the 200 star chest?

Traversing Oceania: A Cryptic Journey

Is it possible to have 2 different but equal size real number sets that have the same mean and standard deviation?

How to hide an urban landmark?

60s or 70s novel about Empire of Man making 1st contact with 1st discovered alien race

LuaLaTex - how to use number, computed later in the document

Writing an augmented sixth chord on the flattened supertonic

How to safely destroy (a large quantity of) valid checks?



Can lsyncd be used to sync multiple source directories on different machines to one dest directory?


What makes Erlang suitable for soft real-time applications?How to play YouTube videos in sync on multiple clients?Can i sync a Google Fusion table with a public dropbox document?How to communicate between processes in realtime Linux?Real-time video “buffering” to html5 videoUse lsyncd to update a local folder with a remote source?Preserving ownership of file with Lsyncdlsyncd cant use dynamic backup suffixUnderstanding csync2 & lsyncd Syncing MechanismPseudo real-time data stream javascript and php






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















Here is my problem:



I have multiple servers which are processing video data. They create video files and manifest files in real time, locally, in a /streams directory. Each stream has a name. The streams directory contains directories for all stream names that a server is processing. The file system will look something like this:



/streams/user1/stream/manifest1.m3u8
/streams/user1/stream/manifest2.m3u8
/streams/user1/stream/master_manifest.m3u8
/streams/user1/stream/<lots of video files>


I want to sync these to a remote directory, but here is the catch:



another server could, in the future, or may have in the past, already processed a stream for "user1" and hence when I want to sync to the remote directory which contains all of the streams, there will be a clash. In this case, I'd like a new directory to be created like so:



/streams/user1/stream2/manifest.m3u8
/streams/user1/stream2/manifest2.m3u8
/streams/user1/stream2/master_manifest.m3u8
/streams/user1/stream2/<lots of video files>


i.e, they get put in "user1" folder still but a new "stream" directory is created, called stream2.



A new stream folder should only be created when the master_manifest.m3u8 file is added, since that only needs to be created once and it describes a single unique stream by 1 user.



Is this kind of behaviour possible with lsyncd?










share|improve this question




























    0















    Here is my problem:



    I have multiple servers which are processing video data. They create video files and manifest files in real time, locally, in a /streams directory. Each stream has a name. The streams directory contains directories for all stream names that a server is processing. The file system will look something like this:



    /streams/user1/stream/manifest1.m3u8
    /streams/user1/stream/manifest2.m3u8
    /streams/user1/stream/master_manifest.m3u8
    /streams/user1/stream/<lots of video files>


    I want to sync these to a remote directory, but here is the catch:



    another server could, in the future, or may have in the past, already processed a stream for "user1" and hence when I want to sync to the remote directory which contains all of the streams, there will be a clash. In this case, I'd like a new directory to be created like so:



    /streams/user1/stream2/manifest.m3u8
    /streams/user1/stream2/manifest2.m3u8
    /streams/user1/stream2/master_manifest.m3u8
    /streams/user1/stream2/<lots of video files>


    i.e, they get put in "user1" folder still but a new "stream" directory is created, called stream2.



    A new stream folder should only be created when the master_manifest.m3u8 file is added, since that only needs to be created once and it describes a single unique stream by 1 user.



    Is this kind of behaviour possible with lsyncd?










    share|improve this question
























      0












      0








      0








      Here is my problem:



      I have multiple servers which are processing video data. They create video files and manifest files in real time, locally, in a /streams directory. Each stream has a name. The streams directory contains directories for all stream names that a server is processing. The file system will look something like this:



      /streams/user1/stream/manifest1.m3u8
      /streams/user1/stream/manifest2.m3u8
      /streams/user1/stream/master_manifest.m3u8
      /streams/user1/stream/<lots of video files>


      I want to sync these to a remote directory, but here is the catch:



      another server could, in the future, or may have in the past, already processed a stream for "user1" and hence when I want to sync to the remote directory which contains all of the streams, there will be a clash. In this case, I'd like a new directory to be created like so:



      /streams/user1/stream2/manifest.m3u8
      /streams/user1/stream2/manifest2.m3u8
      /streams/user1/stream2/master_manifest.m3u8
      /streams/user1/stream2/<lots of video files>


      i.e, they get put in "user1" folder still but a new "stream" directory is created, called stream2.



      A new stream folder should only be created when the master_manifest.m3u8 file is added, since that only needs to be created once and it describes a single unique stream by 1 user.



      Is this kind of behaviour possible with lsyncd?










      share|improve this question














      Here is my problem:



      I have multiple servers which are processing video data. They create video files and manifest files in real time, locally, in a /streams directory. Each stream has a name. The streams directory contains directories for all stream names that a server is processing. The file system will look something like this:



      /streams/user1/stream/manifest1.m3u8
      /streams/user1/stream/manifest2.m3u8
      /streams/user1/stream/master_manifest.m3u8
      /streams/user1/stream/<lots of video files>


      I want to sync these to a remote directory, but here is the catch:



      another server could, in the future, or may have in the past, already processed a stream for "user1" and hence when I want to sync to the remote directory which contains all of the streams, there will be a clash. In this case, I'd like a new directory to be created like so:



      /streams/user1/stream2/manifest.m3u8
      /streams/user1/stream2/manifest2.m3u8
      /streams/user1/stream2/master_manifest.m3u8
      /streams/user1/stream2/<lots of video files>


      i.e, they get put in "user1" folder still but a new "stream" directory is created, called stream2.



      A new stream folder should only be created when the master_manifest.m3u8 file is added, since that only needs to be created once and it describes a single unique stream by 1 user.



      Is this kind of behaviour possible with lsyncd?







      real-time lsyncd






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 24 at 18:47









      toastedDelitoastedDeli

      350118




      350118






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55327269%2fcan-lsyncd-be-used-to-sync-multiple-source-directories-on-different-machines-to%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55327269%2fcan-lsyncd-be-used-to-sync-multiple-source-directories-on-different-machines-to%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현