Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Command-line version of XBian-copier
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Command-line version of XBian-copier
1st Mar, 2014, 04:49 AM
Post: #3
palswim Offline
Registered
Posts: 42
Joined: Feb 2014
Reputation: 2
RE: Command-line version of XBian-copier
From the other post, I can invoke the XBian-config utility's xbiancopy function:
Code:
xbian-config xbiancopy start source dest [label] [size]

source: Source partition - normally this is /dev/root (actually booted root), but can by used to copy others as well (btrfs only)
dest: Destination partition - like /dev/sda2 etc. if "dest" is prefixed with "file:", then file will be created
label: By default is "xbian-copy" used
size: (This makes sense only for destination as file.) By default, it is size of source partition, but sometimes, you have 16gb SD card, but 2gb used, so could be specified.

Examples:
Code:
xbian-config xbiancopy start /dev/root /dev/sda1
xbian-config xbiancopy start /dev/root file:/path/to/file.img

Check status with:
Code:
xbian-config xbiancopy status
After I ran this, status immediately returned 0, and I don't know for which status I am looking, but I find it more effective to check the modification time on the file I'm creating:
Code:
ls -l /path/to/file.img
I know it has finished when the last modified time stops increasing.


This method is a start. But, I am wondering which commands this Xbian copier is using to accomplish the copy.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Command-line version of XBian-copier - palswim - 28th Feb, 2014, 08:54 AM
RE: Command-line version of XBian-copier - belese - 28th Feb, 2014, 11:57 PM
RE: Command-line version of XBian-copier - palswim - 1st Mar, 2014 04:49 AM
RE: Command-line version of XBian-copier - belese - 1st Mar, 2014, 05:18 AM
RE: Command-line version of XBian-copier - IriDium - 1st Mar, 2014, 06:29 AM
RE: Command-line version of XBian-copier - palswim - 1st Mar, 2014, 06:34 AM
RE: Command-line version of XBian-copier - mk01 - 16th Mar, 2014, 03:17 PM
RE: Command-line version of XBian-copier - belese - 1st Mar, 2014, 06:38 AM
RE: Command-line version of XBian-copier - IriDium - 1st Mar, 2014, 06:44 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Xbian-copier not working.... Skywatch 61 116,736 4th Dec, 2018 07:00 PM
Last Post: Skywatch
  [PROBLEM] Command line hangs husntvar 1 5,976 31st Dec, 2016 03:54 PM
Last Post: rikardo1979
  command line console does not fit on the screen Paul Lenz 3 9,259 29th Mar, 2016 06:16 AM
Last Post: Nachteule
  launch command line FROM kodi Enderswood 3 11,888 5th Feb, 2016 12:30 AM
Last Post: Enderswood
  XBMC Command line raspuca 2 26,027 15th Jul, 2013 05:52 AM
Last Post: mk01
  Using command line tietie 2 12,352 20th May, 2013 12:38 AM
Last Post: tietie

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 31st May, 2025, 07:28 AM Powered By MyBB, © 2002-2025 MyBB Group.