WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tranfering MP3's etc into Tine Core  (Read 4200 times)

Offline Tim036

  • Newbie
  • *
  • Posts: 41
Tranfering MP3's etc into Tine Core
« on: January 31, 2016, 02:15:36 AM »
I popped the external drive hold Tiny Core onto another computer to transfer data from one to the other. 

I found 'home' and 'TCE' but not 'Desktop'.

how to the users get data into this OS ?

A puzzled,

Tim

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Tranfering MP3's etc into Tine Core
« Reply #1 on: January 31, 2016, 02:54:20 AM »
Use tinycore to create a folder on your hard disk.

For example, if your hard disk is sda1:
Code: [Select]
$ sudo mkdir -p /mnt/sda1/media/music
$ sudo chown tc:staff -R /mnt/sda1/media

Then when you put the hard disk into the other device, copy the mp3 files into the music folder you just created.

Offline Tim036

  • Newbie
  • *
  • Posts: 41
Re: Tranfering MP3's etc into Tine Core
« Reply #2 on: January 31, 2016, 05:08:23 AM »
Many, many thanks !  I'll try that out the next chance I get !

 :) :) :) :) :) :)

Tim

Offline Tim036

  • Newbie
  • *
  • Posts: 41
Re: Tranfering MP3's etc into Tine Core
« Reply #3 on: January 31, 2016, 06:29:40 AM »
I tried that using Terminal

and it created musicin the media folder but did not let me copy and paste anything

sudo  chown  tc -R /mnt/sda1/media

would that be any better ?

:)

Tim: 

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Tranfering MP3's etc into Tine Core
« Reply #4 on: January 31, 2016, 06:40:31 AM »
Sorry, that should have been:
Code: [Select]
$ sudo chown -R tc:staff /mnt/sda1/media

Offline Tim036

  • Newbie
  • *
  • Posts: 41
Re: Tranfering MP3's etc into Tine Core
« Reply #5 on: January 31, 2016, 01:29:24 PM »
Quoting you initial response

Use tinycore to create a folder on your hard disk.

For example, if your hard disk is sda1:
Code: [Select]

$ sudo mkdir -p /mnt/sda1/media/music
$ sudo chown tc:staff -R /mnt/sda1/media


Then when you put the hard disk into the other device, copy the mp3 files into the music folder you just created.

end quote

what I did was exactly as this post.

the first line worked fine and the directory 'music' was created.

but the second line did not give the directory any properties to allow me to write from a different OS (Ubuntu 14.04 64 bit) data into it.   Cut and Paste did not work nor did drag and drop.

Now I've no idea why as I don't know much about chown, also the visible structure of (from Ubuntu) was tc/media/music  (all directories).   I'm not sure what ':staff' does.

I'm very grateful for your support but I'm also very ignorant at this level of Bash.  (I hope to become less ignorant, with your help).

Thanks again,

 :)

Tim


Offline Tim036

  • Newbie
  • *
  • Posts: 41
Re: Tranfering MP3's etc into Tine Core
« Reply #6 on: January 31, 2016, 01:44:40 PM »
My error:-

I meant

sudo chown -R tc:staff /mnt/sda1/media  (change of position of -R) had no effect.

a puzzled,

but very grateful,

 :)

Tim

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Tranfering MP3's etc into Tine Core
« Reply #7 on: January 31, 2016, 02:08:35 PM »
Tim036 welcome to linux  :)

You'll find that most if not all programs have a help guide invoked by --help when run from the terminal
eg:  chown --help 

reading this will help you to construct your command correctly (or put another way, in the sequence the program expects)

for example the -R option is standard in most program options meaning ' recursive '  and is almost always placed next in sequence after program name

All of this is quite basic linux knowledge, which can be quite frustrating when coming from something as simple as windows.

hang in there and don't forget google is your friend, it's just a matter of knowing what to ask and I find something like "how to chown" will get you on the right path

:)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Tranfering MP3's etc into Tine Core
« Reply #8 on: January 31, 2016, 03:37:06 PM »
Welcome Tim036.

Learning Linux is hard if you're used to Windows, learning it in Tiny Core is tougher!
...good for you, don't get too frustrated :)

Some responses indicated possible typos, good ways to prevent terminal typos:

1) Cut and paste commands provided by helpers (if in GUI)
2) Press Tab key twice to autocomplete partially typed command or directory

Change to your media directory and check permissions. These commands will confirm whether the partition is mounted and who owns the directory. What is the terminal output of  ll  (two small L = list long):
Code: [Select]
cd /mnt/sda1/media
ll


Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11623
Re: Tranfering MP3's etc into Tine Core
« Reply #9 on: January 31, 2016, 03:59:31 PM »
Hi Tim036
Quote
but the second line did not give the directory any properties to allow me to write from a different OS (Ubuntu 14.04 64 bit) data into it.   Cut and Paste did not work nor did drag and drop.
Probably because you don't have  tc:staff  listed as user and group under the other OS.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Tranfering MP3's etc into Tine Core
« Reply #10 on: January 31, 2016, 08:55:50 PM »
but the second line did not give the directory any properties to allow me to write from a different OS (Ubuntu 14.04 64 bit) data into it.   Cut and Paste did not work nor did drag and drop.

You should be able to use "sudo" before a copy command in Ubuntu - i.e. "sudo cp *.mp3 /mnt/sda1/media/music"

Offline Tim036

  • Newbie
  • *
  • Posts: 41
Re: Tranfering MP3's etc into Tine Core
« Reply #11 on: February 01, 2016, 06:31:18 PM »
Didn't work even when I tried it on ubuntu to its own /media/music/    from the home directory.

puzzled but appreciated your response

Tim

Offline Tim036

  • Newbie
  • *
  • Posts: 41
Re: Tranfering MP3's etc into Tine Core
« Reply #12 on: February 01, 2016, 06:38:26 PM »
forgot to plug the target HD in !  whoops

Offline Tim036

  • Newbie
  • *
  • Posts: 41
Re: Tranfering MP3's etc into Tine Core
« Reply #13 on: February 01, 2016, 06:44:47 PM »
Now I'm taking a guess that the second drive is sdb1

perhaps there is a way of asking the system what the second drive is called?


tim@tim-A880G:~$ sudo cp hon.mp3 /mnt/sdb1/media/music/


cp: cannot create regular file ‘/mnt/sdb1/media/music/’: No such file or directory

Many thanks for your support !

 :) :) :)

Tim

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Tranfering MP3's etc into Tine Core
« Reply #14 on: February 01, 2016, 07:49:17 PM »
Now I'm taking a guess that the second drive is sdb1

perhaps there is a way of asking the system what the second drive is called?

Running cat /etc/fstab will display what your system found at boot:
Code: [Select]
cat /etc/fstab


Running blkid will show current drives on system:
Code: [Select]
blkid

Running  mount  or  mount | grep sd  ill show what's mounted, if it's not mounted you can't transfer data:
Code: [Select]
mount
mount | grep sd