Tuesday, February 16, 2016

Unix : Move and replace existing files and directory using rsync command

$ sudo rsync -va --delete-after sublime_text_3 /opt/sublime_text_3/
building file list ... done
sublime_text_3/
sublime_text_3/Icon/
sublime_text_3/Icon/128x128/
sublime_text_3/Icon/128x128/sublime-text.png
sublime_text_3/Icon/16x16/
sublime_text_3/Icon/16x16/sublime-text.png
sublime_text_3/Icon/256x256/
sublime_text_3/Icon/256x256/sublime-text.png
sublime_text_3/Icon/32x32/
sublime_text_3/Icon/32x32/sublime-text.png
sublime_text_3/Icon/48x48/
sublime_text_3/Icon/48x48/sublime-text.png
sublime_text_3/Packages/
sublime_text_3/Packages/ASP.sublime-package
sublime_text_3/Packages/ActionScript.sublime-package
sublime_text_3/Packages/AppleScript.sublime-package
sublime_text_3/Packages/Batch File.sublime-package
sublime_text_3/Packages/C#.sublime-package
sublime_text_3/Packages/C++.sublime-package
sublime_text_3/Packages/CSS.sublime-package
sublime_text_3/Packages/Clojure.sublime-package
sublime_text_3/Packages/Color Scheme - Default.sublime-package
sublime_text_3/Packages/D.sublime-package
sublime_text_3/Packages/Default.sublime-package
sublime_text_3/Packages/Diff.sublime-package
sublime_text_3/Packages/Erlang.sublime-package
sublime_text_3/Packages/Go.sublime-package
sublime_text_3/Packages/Graphviz.sublime-package
sublime_text_3/Packages/Groovy.sublime-package
sublime_text_3/Packages/HTML.sublime-package
sublime_text_3/Packages/Haskell.sublime-package
sublime_text_3/Packages/Java.sublime-package
sublime_text_3/Packages/JavaScript.sublime-package
sublime_text_3/Packages/LaTeX.sublime-package
sublime_text_3/Packages/Language - English.sublime-package
sublime_text_3/Packages/Lisp.sublime-package
sublime_text_3/Packages/Lua.sublime-package
sublime_text_3/Packages/Makefile.sublime-package
sublime_text_3/Packages/Markdown.sublime-package
sublime_text_3/Packages/Matlab.sublime-package
sublime_text_3/Packages/OCaml.sublime-package
sublime_text_3/Packages/Objective-C.sublime-package
sublime_text_3/Packages/PHP.sublime-package
sublime_text_3/Packages/Pascal.sublime-package
sublime_text_3/Packages/Perl.sublime-package
sublime_text_3/Packages/Python.sublime-package
sublime_text_3/Packages/R.sublime-package
sublime_text_3/Packages/Rails.sublime-package
sublime_text_3/Packages/Regular Expressions.sublime-package
sublime_text_3/Packages/RestructuredText.sublime-package
sublime_text_3/Packages/Ruby.sublime-package
sublime_text_3/Packages/SQL.sublime-package
sublime_text_3/Packages/Scala.sublime-package
sublime_text_3/Packages/ShellScript.sublime-package
sublime_text_3/Packages/TCL.sublime-package
sublime_text_3/Packages/Text.sublime-package
sublime_text_3/Packages/Textile.sublime-package
sublime_text_3/Packages/Theme - Default.sublime-package
sublime_text_3/Packages/Vintage.sublime-package
sublime_text_3/Packages/XML.sublime-package
sublime_text_3/Packages/YAML.sublime-package

sent 3,958,228 bytes  received 1,046 bytes  7,918,548.00 bytes/sec
total size is 3,953,429  speedup is 1.00

No comments:

Post a Comment