All language subtitles for 015 Copying files and directories-en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

1

Let's see now how we can copy files and directories.

2

Let me open the graphical interface so you can visualize what's happening in real time.

3

And I'm going to fix that a little bit so that fit and my skin in the coding

4

and know what I want to do is I want to copy the test file that I created previously in the temp directory

5

to the documents directory.

6

Again here I'm typing tab for completion and this particular case I'm typing.

7

TAB TAB because I have to test files one test file and want this file too.

8

So the system doesn't know exactly which one I'm referring to.

9

If I type tab once I type tab twice and the system tells me there are two files and this is going to

10

go with the first one and the structure for the copy command is C.P. the file.

11

I want to copy and then the destination I want to copy to.

12

So in this example I'm copying the text file from directory temp and the destination I wanted to be

13

the documents directory.

14

You know what I mean on purpose change that and type it wrongly so you can see how the Linux case sensitivity

15

works.

16

I'm changing the documents from capital-T to small-D.

17

Notice what happens now.

18

Look at the right side.

19

If I type LS notice that I have now a new file called Documents

20

and if I look on the right side I can verify that.

21

And you file those documents has been created.

22

So what happened.

23

I mistyped the documents folder name which starts with a capital D and instead of using a capital D

24

I used a small d.

25

So the copy command understood this.

26

Understood that I want to copy the file name test file and the destination that I wanted to be copied

27

to is the file called documents.

28

In other words it's like I'm copying the text file and renaming it to documents.

29

So both now test file and documents file are exactly the same.

30

It's like in Windows when you copy a file from one directory to another and rename it.

31

This is exactly what happened here.

32

I'm going to clear my screen and let's now do it the correct way.

33

I'm going to say Copy time test file.

34

And now I'm going to type it correctly using a capital D which is my copy command to copy the text file

35

into the documents directory.

36

Now if I go to the documents directory I'll see that the test file has been copied there.

37

Good stuff.

38

Let's say I want to copy it under a different name.

39

I can do exactly just that copy time testified to documents slash different name or whatever name you

40

want to give it.

41

Let me have another look at the content of them.

42

So I have directed the one if you remember in directory one there was another directory nested into

43

it called directory to let's say I want to copy the entire contents of directory one and directory to

44

the documents

45

the way I can do that as using the minus Otter option which means copy recursively so C.P dash are slash

46

them did one and two documents.

47

And here we go.

48

Look at the right hand side.

49

We have a folder data on and inside this for the DA to let's say I want to copy it under a different

50

name.

51

I can do that easily by giving it whatever name I want.

52

And again if I go to a different name I'll find that inside it is dear to.

53

Now here's the thing about copy it copies without asking us if we want to overwrite a file of the file

54

already exists in Microsoft Windows by default.

55

If I'm copying a file over a preexisting file it will either automatically rename it for us or it will

56

ask us if we want to overwrite it in Linux.

57

It doesn't ask why default by default it will overnight tonight if I do again copy temp tests file into

58

documents the old test file will be overwritten without me even being prompted.

59

One simple way to change that is to use the minus option which stands for interactive.

60

So now if I type C minus I the temp test file into documents.

61

Linux will tell me the file exists you want to overwrite it.

62

I can either say yes or no and proceed.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.