All language subtitles for 016 Moving files and directories-en

af Afrikaans
ak Akan
sq Albanian
am Amharic
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
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
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

Now what if I wanted to move files.

2

The difference between copy and move is that the copy command would leave the file and it's our original

3

source.

4

So if I had a file and the temp directory and I copied it to documents I would have two copies of it

5

one and the temp directory and one under documents.

6

However we'll remove the file from temp and move it entirely to documents all have only one copy of

7

it.

8

As a side note and this is important to know more is also used as renaming function and Linux.

9

So in Microsoft Windows for example you can right click on a file and click on rename to change the

10

name of the file.

11

In Linux there is no the name commands.

12

We use the move command to rename files and folders.

13

So let's see how this works.

14

I'm going to create a file on the temp directory called to move and I'll do that using the command touch

15

space last time slash to move.

16

Let me list the contents of the temp directory.

17

And I can see that two more fight is over there.

18

Let's say now I want to move it to the Documents folder or the documents directory.

19

I can do that by typing M.V. for move slash Demps left to move to documents.

20

Look at the right hand side.

21

And there we go.

22

It moved there.

23

Now if I display the content of the temp directory I can notice that two more file is no longer there.

24

By the way if I want to read this play the previous commands I can use the up arrow and type at a number

25

of times to keep going back and commands or in my command history.

26

So I'm going to do that to recreate the file under the term directory.

27

So now I've recreated the to move file again I display the content of the temp directory and the file

28

is recreated like in copy.

29

If I use the move command and the file already exists and the destination directory it will automatically

30

be overwritten.

31

So again if I move it from time to documents you notice that it got all the return and the original

32

file disappeared.

33

Let me created a third time.

34

And now when I want to move it I'm going to use like and copy the minus i option which sounds for interactive.

35

Now let's see what happens.

36

It will ask me Do you want to write.

37

I'm going to say no.

38

Let's quickly revisit the copy command and see how we can use it easily with the DOT and the DOT DOT

39

notations that we saw previously.

40

I'm going to go back to my documents folder and in my temp folder I have the X Files which I want to

41

copy to the documents folder.

42

I can do that in many ways.

43

The first way I'm going to be using it is C-p temp Ex-Files and the destination is taled which stands

44

for my home directory slash documents and notice that the file has been copied.

45

I'm going to delete it very quickly.

46

And now that I am in the documents directory I'm going to do the neat trick of using the dot which stands

47

for current working directory.

48

So now if I type C-p slash dump slash Ex-Files space Daut I'm telling Linux that I want to copy the

49

X Files into whatever I am right now and it happens that I am in documents and as we can see the X Files

50

as a copy to documents.

51

Let's say instead of copying it to documents I want to copy it to the root directory.

52

And the way to do this is by typing see these less steps less as far as space.

53

Dot dot dot dot dot again stands for up one directory.

54

So in this case I'm copying the X-Files file to the root directory.

55

If I go up one directory using my graphical interface or see that the X-Files has been copied up one

56

directory which happens to be that directory.

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