Re: [ubuntu-studio-users] Need a CLI command to recursively copy my home folder.

2013-10-31 Thread Thomas Orgis
Am Thu, 31 Oct 2013 12:05:07 + (GMT)
schrieb Alex Armani : 

> What I'd like to do, is copy all the contents of home/alex to sda7 then 
> remove sda6, move sda7 so that it is next to sda2 and install UB13.10 from 
> scratch. 
> 
> So I figure I can login as guest, CTRL ALT 2, login as alex, mount sda7, and 
> then use a single cli command to copy everything in my home partition to 
> sda7, but I don't know what the commands to do this are. 

The easiest command is

cp -a /source /destination

This copies directories recursively and preserves ownership,
permissions and time stamps. Another, more traditional method (back
from when GNU cp wasn't that helpful) is to create an archive:

tar -cf /destination/archive.tar /source

Both commands work best as root in case there are files with diverse
ownership. Otherwise, running as the owning user is fine.

> I'm not looking to have my home partition on sda7, I just want to backup all 
> my pics / videos /music / downloads so I can start again. 

You know ... for having a backup ... creating backups is an idea;-)


Alrighty then,

Thomas


signature.asc
Description: PGP signature
-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Need a CLI command to recursively copy my home folder.

2013-10-31 Thread Mike Holstein
On Thu, Oct 31, 2013 at 8:05 AM, Alex Armani wrote:

> Hi folks. Happy Halloween! I've been ''playing'' with my system,
> installing the 64 bit Ubuntu Studio 13.10 distribution, and have ended up
> with the following:
>
> sda2 - ntfs, 181 GB
> sda6 - ext4, 73 GB
> sda7 - ntfs, 63 GB
>
> sda2 is my Windows 7 Home Premium partition, working perfectly.
> sda7 has no OS installed on it, and has been created because sda2 is
> getting full.
> sda6 has UB Studio 13.10 installed, but I can only login as guest. I can
> Ctrl Alt 2 and login as alex, so I know my password is being entered
> correctly, but then startx doesn't work.
>
> What I'd like to do, is copy all the contents of home/alex to sda7 then
> remove sda6, move sda7 so that it is next to sda2 and install UB13.10 from
> scratch.
>
> So I figure I can login as guest, CTRL ALT 2, login as alex, mount sda7,
> and then use a single cli command to copy everything in my home partition
> to sda7, but I don't know what the commands to do this are.
>
> I'm not looking to have my home partition on sda7, I just want to backup
> all my pics / videos /music / downloads so I can start again. I figured
> this would be easier than fixing the password issue.
>
> Any help appreciated; thanks in advance, from Alex.
>  --
>  Alex Armani - Digital Musician
> www.newmatrixism.com
>

i would probably just use grsync from a live CD, and sort the permissions
out if needed afterwards.. cheers


>
> --
> ubuntu-studio-users mailing list
> ubuntu-studio-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
>
>


-- 
MH

mikeholstein.info 
-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: [ubuntu-studio-users] Need a CLI command to recursively copy my home folder.

2013-10-31 Thread bart deruyter
Alex,

I've had a similar issue, a while back, couldn't log in a Desktop
Environment anymore. It looped back to the login screen. Is it familiar?
The solution was installing gdm from command line, "sudo apt-get install
gdm" (running kde here, which uses lightdm) and then "sudo dpkg-reconfigure
gdm".

Now I have upgraded to 13.10 too, but gdm seemed to be broken, only a black
screen showed up. So then I had to "sudo dpkg-reconfigure lightdm" :-)

Perhaps one of these might work for you too.

Greets,
Bart

http://www.bartart3d.be/
On facebook 
On Twitter 
On Identi.ca 
On Google+ 


2013/10/31 Alex Armani 

> Hi folks. Happy Halloween! I've been ''playing'' with my system,
> installing the 64 bit Ubuntu Studio 13.10 distribution, and have ended up
> with the following:
>
> sda2 - ntfs, 181 GB
> sda6 - ext4, 73 GB
> sda7 - ntfs, 63 GB
>
> sda2 is my Windows 7 Home Premium partition, working perfectly.
> sda7 has no OS installed on it, and has been created because sda2 is
> getting full.
> sda6 has UB Studio 13.10 installed, but I can only login as guest. I can
> Ctrl Alt 2 and login as alex, so I know my password is being entered
> correctly, but then startx doesn't work.
>
> What I'd like to do, is copy all the contents of home/alex to sda7 then
> remove sda6, move sda7 so that it is next to sda2 and install UB13.10 from
> scratch.
>
> So I figure I can login as guest, CTRL ALT 2, login as alex, mount sda7,
> and then use a single cli command to copy everything in my home partition
> to sda7, but I don't know what the commands to do this are.
>
> I'm not looking to have my home partition on sda7, I just want to backup
> all my pics / videos /music / downloads so I can start again. I figured
> this would be easier than fixing the password issue.
>
> Any help appreciated; thanks in advance, from Alex.
>  --
>  Alex Armani - Digital Musician
> www.newmatrixism.com
>
> --
> ubuntu-studio-users mailing list
> ubuntu-studio-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
>
>
-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


[ubuntu-studio-users] Need a CLI command to recursively copy my home folder.

2013-10-31 Thread Alex Armani
Hi folks. Happy Halloween! I've been ''playing'' with my system, installing the 
64 bit Ubuntu Studio 13.10 distribution, and have ended up with the following: 


sda2 - ntfs, 181 GB 
sda6 - ext4, 73 GB 
sda7 - ntfs, 63 GB 

sda2 is my Windows 7 Home Premium partition, working perfectly. 
sda7 has no OS installed on it, and has been created because sda2 is getting 
full. 
sda6 has UB Studio 13.10 installed, but I can only login as guest. I can Ctrl 
Alt 2 and login as alex, so I know my password is being entered correctly, but 
then startx doesn't work. 

What I'd like to do, is copy all the contents of home/alex to sda7 then remove 
sda6, move sda7 so that it is next to sda2 and install UB13.10 from scratch. 

So I figure I can login as guest, CTRL ALT 2, login as alex, mount sda7, and 
then use a single cli command to copy everything in my home partition to sda7, 
but I don't know what the commands to do this are. 

I'm not looking to have my home partition on sda7, I just want to backup all my 
pics / videos /music / downloads so I can start again. I figured this would be 
easier than fixing the password issue. 

Any help appreciated; thanks in advance, from Alex.
 -- 
 Alex Armani - Digital Musician 
www.newmatrixism.com-- 
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users