https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112012-04-22T11:19:38ZRuby Issue Tracking SystemRuby master - Feature #6337: FileUtils#synchttps://redmine.ruby-lang.org/issues/6337?journal_id=260772012-04-22T11:19:38Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>matz (Yukihiro Matsumoto)</i></li></ul> Ruby master - Feature #6337: FileUtils#synchttps://redmine.ruby-lang.org/issues/6337?journal_id=260802012-04-22T11:38:45Zbitsweat (Jeremy Daer)jeremydaer@gmail.com
<ul></ul><p>"Sync" can mean many things. See the long list of options on rsync's man page. This makes sense as a separate library that relies on FileUtils. It's a complex high-level feature, not a low-level "composable" operation like mv or rm.</p> Ruby master - Feature #6337: FileUtils#synchttps://redmine.ruby-lang.org/issues/6337?journal_id=260812012-04-22T14:11:59Ztrans (Thomas Sawyer)
<ul></ul><p>Okay, a better name for this method is probably in order. If anyone can think of one?</p>
<p>@bitsweet I understand what your saying, but I'm not advocating for an implementation of rsync or anything close to it. It's just local fs method that should do little more than <code>install</code> present files and <code>rm</code> non-present files. The only option other then <code>verbose</code> and <code>noop</code> that it might support that I can think of is <code>force</code>.</p> Ruby master - Feature #6337: FileUtils#synchttps://redmine.ruby-lang.org/issues/6337?journal_id=337902012-11-24T14:15:57Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Target version</strong> changed from <i>1.9.3</i> to <i>2.6</i></li></ul> Ruby master - Feature #6337: FileUtils#synchttps://redmine.ruby-lang.org/issues/6337?journal_id=687702017-12-25T18:15:04Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Target version</strong> deleted (<del><i>2.6</i></del>)</li></ul> Ruby master - Feature #6337: FileUtils#synchttps://redmine.ruby-lang.org/issues/6337?journal_id=1073342024-03-20T00:38:22Zmatheusrich (Matheus Richard)matheusrichardt@gmail.com
<ul></ul><p><a class="user active user-mention" href="https://redmine.ruby-lang.org/users/137">@trans (Thomas Sawyer)</a> I'm not sure I understand the proposal. Is this basically cloning the source dir with a different name? could that be the name you want <code>clone_dir</code>?</p>