D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] copying hidden directory to usb stick

 

James Kilty wrote:
> On Mon, 2007-09-17 at 22:55 +0100, Neil Stone wrote:
>
>
>   
>> what filesystem is on the usb stick ? not all fs's will allow a 
>> directory not to have text prior to a "."
>>     
>
> Dear Neil
>
> Thank you. In this case it is an old mp3 player which I think is FAT12.
> I forget what we actually did use, but if it was a portable hard disk I
> cannot find it except in media as FREECOM HDD which will not work with
> the space (I suppose). I seem to remember he found it in a different
> way.
>
> So. I should jump to home and call it james/.evolution?
>
> (2)With sudo I got the same as before all "failed to preserve ownership
> for xxx: Operation not permitted" using sudo cp -a
> james/.evolution /media/disk
>
> (1)I tried doing this with the same line without sudo  and this time I get
> cp: cannot create regular file '/media/disk/.evolution/<folder1
> name>:_home_james_.evolution_mail_local#<folder2 name>.xml': invalid
> argument.
>
> At least these are the last few messages, where folder1 is e.g
> mail/views/current_view-m_box and folder2 is e.g. computer_dclug_artists
> (corresponding to my directory of folders for my mail).
>
> I am happy to keep trying. How would I find the FREECOM HDD as a file (I
> think that's what he said it was)?
>
>   
tar cvjf evolution.tar.bz2 ~/.evolution ; cp evolution.tar.bz2 
/mnt/pendrive/

alter as desired

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html