Kunoma yisiphi isistimu yokusebenza, yiba yi-Linux noma i-Windows, ungase udinge ukuqamba kabusha ifayela. Futhi uma abasebenzisi beWindows bebhekana nalokhu kusebenza ngaphandle kwezinkinga ezingadingekile, ke ku-Linux bangase babhekane nobunzima, ngenxa yokungabi nolwazi kolwazi nokuningi kweziindlela eziningi. Le ngqikithi izohlunga zonke izinhlobo ezingafani zokuthi ungabiza kanjani kabusha ifayela ku-Linux.
Bheka futhi:
Indlela yokudala noma ukususa ifayela ku-Linux
Indlela yokuthola inguqulo yokusabalalisa kwe-Linux
Indlela 1: i-pyRenamer
Ngeshwa, isofthiwe i-pyRenamer Akunikezwa kwisethi evamile yokusatshalaliswa kokusabalalisa. Kodwa-ke, njengento yonke e-Linux, ingalandwa iphinde ifakwe kusuka ehhovisi elisemthethweni. Umyalo wokulanda nokufaka kanje:
I-sudo efaka ukufaka i-pyrenamer
Ngemuva kokungena, faka iphasiwedi bese uchofoza Ngena. Okulandelayo, kuzodingeka uqinisekise izenzo ezenziwe. Ukuze wenze lokhu, faka incwadi "D" bese uchofoza futhi Ngena. Kuhlala nje ukulinda ukulanda nokufakwa (ungavali "i-Terminal" kuze kuphele inqubo).
Ngemuva kokufakwa, uhlelo lungaqaliswa, ngemuva kokwenza usesho ohlelweni negama layo.
Umehluko omkhulu i-pyRenamer kusuka kumphathi wefayela ukuthi uhlelo lokusebenza liyakwazi ukuxhumana namafayela amaningi ngesikhathi esisodwa. Iphelele ezimweni lapho udinga ukushintsha igama kumadokhumenti amaningana ngesikhathi esisodwa, ukususa ingxenye ethile noma ukuyibeka esikhundleni.
Ake sibheke umsebenzi wokuqamba kabusha amafayela ohlelweni:
- Njengoba uvule uhlelo, udinga ukuvula indlela eya esiqondisweni lapho amafayela okumele aqanjwe khona atholakale. Lokhu kwenziwa ku iwindi lokusebenza elisele (1). Ngemuva kokunquma isiqondisi ku iwindi lokusebenza elungile (2) wonke amafayela kuwo azoboniswa.
- Okulandelayo, udinga ukuya kuthebhu "Izakhiwo".
- Kulesi sithebhu udinga ukufaka uphawu eceleni "Faka esikhundleni"ngakho amasimu okufakwayo asebenza.
- Manje ungaqhubeka ukuqamba amafayili ohlwini lwemibhalo ekhethiwe. Cabanga ngesibonelo samafayela amane. "Umbhalo ongenamagama" nge-nominal ordinal. Ake sithi kudingeka sishintshe amagama "Umbhalo ongenamagama" ngegama "Ifayela". Ukuze wenze lokhu, enkundleni yokuqala faka ingxenye engaguquguqukayo yegama lefayela, kulokhu "Umbhalo ongenamagama", futhi emgqeni wesibili, ozothatha isikhundla - "Ifayela".
- Ukuze ubone ukuthi kwenzekani ekugcineni, ungachofoza "Hlola kuqala" (1). Zonke izinguquko zizoboniswa kugrafu "Iqambe kabusha igama lefayela" ewindini elisebenza kahle.
- Uma izinguquko zihambisana nawe, ungachofoza "Qamba kabusha"ukuzisebenzisa kumafayela akhethiwe.
Ngemuva kokuqamba kabusha, ungakwazi ukuvala ngokuphepha uhlelo futhi uvule imenenja yefayela ukuhlola izinguquko.
Eqinisweni usebenzisa i-pyRenamer Ungenza imisebenzi eminingi yefayela. Akugcini nje ukufaka ingxenye eyodwa yegama ngenye, kodwa futhi ukusebenzisa izifanekiso kuthebhu "Amaphethini", setha iziguquko, futhi ulawule, lungisa amagama wefayela njengoba uthanda. Kodwa akunangqondo ukudweba imilayezo ngokuningiliziwe, kusukela lapho uhambisa isikhombisi phezu kwamasimu asebenzayo, isiza sizovela.
Indlela 2: Isikhumbuzo
Ngeshwa, akunakwenzeka njalo ukuqamba kabusha ifayela usebenzisa izinhlelo ezikhethekile nge-interface esibonakalayo. Ngezinye izikhathi iphutha noma into enjengale ingaphazamisa ukusebenza kwalo msebenzi. Kodwa ku-Linux kunendlela engaphezulu kweyodwa yokufeza umsebenzi, ngakho hamba ngqo "Isikhumbuzo".
Umyalo we-Mv
Ithimba mv ku-Linux, kunesibopho sokuhambisa amafayela kusuka kuncwadi eyodwa kuya kwenye. Kodwa empeleni, ukuhambisa ifayela kufana nokuqamba kabusha. Ngakho, usebenzisa lo myalo, uma uhambisa ifayela kufolda efanayo lapho itholakala khona, ngenkathi uhlela igama elisha, uzokwazi ukuqamba kabusha.
Manje ake sihlolisise umyalo. mv.
I-Syntax nezinketho zomyalo we-mv
I-syntax ilandelayo:
I-mv option original_file_name igama lefayela emva_name ukuqamba kabusha
Ukuze usebenzise zonke izici zalo myalo, udinga ukuhlola izinketho zayo:
- -i - cela imvume uma ushintsha amafayela akhona;
- -f - faka ifayela elikhona ngaphandle kwemvume;
- -n - vimbela ukufakwa kwefayela elikhona;
- -u - vumela ukufaka ifayela uma kukhona izinguquko kuyo;
- -v - bonisa wonke amafayela acutshungulwayo (uhlu).
Ngemuva kokuthi sisebenze nazo zonke izici zethimba mv, ungaqhubeka ngqo nenqubo yokwakha kabusha.
Izibonelo zokusebenzisa imiyalo ye-Mv
Manje sizocabangela isimo uma kufolda "Amadokhumenti" kukhona ifayela eliqanjwe "Idokhumenti endala"Umsebenzi wethu ukuwuqamba kabusha "Idokhumenti entsha"usebenzisa umyalo mv ku "Isikhumbuzo". Kulokhu sidinga ukungena:
mv -v "Idokhumenti endala" "Idokhumenti entsha"
Qaphela: ukuze umsebenzi uphumelele, udinga ukuvula ifolda edingekayo ku "Terminal" futhi emva nje kwalokho kufezekisa zonke izindlela. Ungavula ifolda "Emgodini" usebenzisa umyalo we-cd.
Isibonelo:
Njengoba ungabona esithombeni, ifayela esiyidingayo linikezwa igama elisha. Sicela wazi ukuthi ku-"Terminal" inketho "-v", yimuphi umugqa ngezansi ubonise umbiko oningiliziwe mayelana nokusebenza okwenziwe.
Futhi, usebenzisa umyalo mvAwukwazi ukuqamba kabusha ifayela kuphela, kodwa ngesikhathi esifanayo uyithuthela kwenye ifolda. Njengoba kushiwo ngenhla, lo myalo yilokho okudingekayo kulokhu. Ukuze wenze lokhu, kuyadingeka, ngaphezu kokucacisa igama lefayela, ukusetha indlela eya kuyo.
Ake sithi ufuna kusukela kufolda "Amadokhumenti" faka ifayela "Idokhumenti endala" kufolda "Ividiyo" ngesikhathi esisodwa ukuyiqamba kabusha "Idokhumenti entsha". Yilokho umyalo oyobukeka:
mv -v / ekhaya / umsebenzisi / Amadokhumenti / "Idokhumenti endala" / ikhaya / umsebenzisi / Ividiyo / "Idokhumenti entsha"
Okubalulekile: uma igama lefayela liqukethe amagama amabili noma ngaphezulu, kufanele kufakwe emacaphuni.
Isibonelo:
Qaphela: uma ifolda ohlose ukuyithutha ifayela, ngesikhathi esifanayo uyiqambe kabusha, awunayo amalungelo okufinyelela, kufanele usebenzise umyalo ngokusebenzisa umphathi omkhulu ngokubhala "super su" ekuqaleni futhi ufake iphasiwedi.
Qamba kabusha umyalo
Ithimba mv kuhle uma udinga ukuqamba kabusha ifayela elilodwa. Futhi-ke, akekho omthandayo esikhundleni salokhu - nguye ongcono kakhulu Kodwa-ke, uma udinga ukuqamba amafayela amaningi noma ukufaka esikhundleni segama kuphela, umyalo uba yintandokazi qamba kabusha.
I-syntax nezinketho zomyalo wokuqamba kabusha
Njengomyalo wokugcina, ake siqale nge-syntax qamba kabusha. Kubonakala kanje:
qamba kabusha inketho 's / old_name_file / new_name_file /' name_of_file_name
Njengoba ubona, i-syntax inzima kakhulu kunomyalo. mvNokho, ikuvumela ukuthi wenze izenzo eziningi efayeleni.
Manje ake sibheke izinketho, zilandelayo:
- -v - bonisa amafayela ahanjisiwe;
- -n - ukubuka kuqala kwezinguquko;
- -f - qinisa ukuqamba wonke amafayela.
Manje ake sibheke izibonelo ezibonisa lo myalo.
Izibonelo zokusebenzisa umyalo wokuqamba kabusha
Ake sithi ku-directory "Amadokhumenti" sinamafayela amaningi abizwa "Idokhumenti endala"kuphi inombolo - Lena inombolo yokulandelana. Umsebenzi wethu usebenzisa umyalo qamba kabusha, kuwo wonke lawa mafayela ashintsha igama "Okudala" kuqhubeke "Okusha". Ukwenza lokhu, sidinga ukuqhuba umyalo olandelayo:
qamba kabusha -kudala / okudala / okusha / '*
kuphi "*" - wonke amafayela kuhla lwemibhalo ecacisiwe.
Qaphela: uma ufuna ukwenza ushintsho kwifayili eyodwa, esikhundleni sokuthi "*" ubhale igama lakhe. Ungakhohlwa, uma igama liqukethe amagama amabili noma ngaphezulu, kufanele kucashunwe.
Isibonelo:
Qaphela: usebenzisa lo myalo, ungakwazi kalula ukushintsha izandiso zefayela ngokucacisa isandiso esidala, ukusibhala, isibonelo, kwifomu " .txt", bese kuthi okusha, isibonelo, ".html".
Ukusebenzisa umyalo qamba kabusha Ungashintsha futhi icala lombhalo wegama. Isibonelo, sifuna amafayela abizwe "I-NEW FILE (num)" qamba kabusha "ifayela elisha (inombolo)". Ngenxa yalokhu udinga ukubhalisa umyalo olandelayo:
qamba kabusha -y 'y / A-Z / a-z /' *
Isibonelo:
Qaphela: uma udinga ukushintsha leli cala egameni lamafayela ngesiRashiya, sebenzisa umyalo othi "qamba kabusha -v 'y / AZ / a-i /' *".
Indlela 3: Imenenja yefayela
Ngeshwa, ngena "Isikhumbuzo" Akuwona wonke umsebenzisi ongaziqaphela, ngakho-ke kuyoba ukuhlakanipha ukucabangela ukuthi ungaqamba kabusha kanjani amafayela usebenzisa isikhombimsebenzisi esibonakalayo.
Ukusebenzisana namafayela ku-Linux kuhle ukukwenza nomphathi wefayela, yiba njalo I-Nautilus, I-Dolphin noma yimuphi omunye (kuxhomeke ekusakazeni kwe-Linux). Ikuvumela ukuthi ungacabangeli amafayela hhayi kuphela, kodwa futhi namarekhodi, kanye namarekhodi, ukwakha isikhundla sabo sobukhosi ngendlela eqondakala kakhulu kumsebenzisi ongenalwazi. Ngisho nomsunguli osanda kufaka i-Linux ngokwakhe angakwazi ukuhamba kalula kubaphathi abanjalo.
Ukuqamba kabusha ifayela ngokusebenzisa imenenja yefayela kulula:
- Okokuqala udinga ukuvula imenenja uqobo bese uya esiqondisweni lapho ifayela elidinga ukuqanjwa kabusha likhona.
- Manje udinga ukuhambisa phezu kwalo bese uchofoza inkinobho yesinxele yesinxele (LMB) ukuze ukhethe. Kulandelwe ukhiye F2 noma inkinobho yegundane kwesokudla bese ukhetha into "Qamba kabusha".
- Ifomu lizovela ngezansi kwefayela, futhi igama lefayela ngokwalo lizogqanyiswa. Kumele ufake igama elidingekayo bese ucindezela ukhiye Ngena ukuqinisekisa izinguquko.
Ngakho-ke kulula futhi usheshe ukwazi ukuqamba kabusha ifayela ku-Linux. Imfundo ethunyelwe isebenza kubo bonke abaphathi befayela bezabelo ezahlukene, noma kunjalo kungase kube nokwahlukana ekuqanjweni kwezinye izakhi zobunikazi noma ekuboniseni kwabo, kodwa incazelo ejwayelekile yezenzo ihlala isilingana.
Isiphetho
Ngenxa yalokho, singasho ukuthi kunezindlela eziningi zokuqamba kabusha amafayela ku-Linux. Zonke zihluke kakhulu komunye nomunye futhi zibalulekile ezimweni ezahlukene. Isibonelo, uma udinga ukuqamba kabusha amafayela owodwa, kungcono ukusebenzisa umphathi wesistimu yefayela noma umyalo mv. Futhi esimweni sokuqamba kabusha kancane noma okuphindaphindiwe, uhlelo luphelele. i-pyRenamer noma ithimba qamba kabusha. Unento eyodwa kuphela okumelwe ukwenze - ukunquma ukuthi ungayisebenzisa kanjani.