Firmware Tablet Google Nexus 7 3G (2012)

A kowane tsarin aiki, watau Linux ko Windows, mai yiwuwa ka buƙaci sake suna fayil. Kuma idan masu amfani da Windows sun jimre wannan aiki ba tare da matsalolin da ba dole ba, to Linux za su fuskanci matsalolin, saboda rashin sanin tsarin da kuma yawancin hanyoyi. Wannan labarin zai lissafa dukkan bambancin da za a iya yi a kan yadda zaka iya sake suna fayil a cikin Linux.

Duba kuma:
Yadda za a ƙirƙiri ko share fayil a cikin Linux
Yadda za'a gano sakin layin Linux

Hanyar 1: pyRenamer

Abin baƙin ciki, software pyRenamer Ba a ba da shi a cikin saitunan tsararru na rarraba ba. Duk da haka, kamar duk abin da ke cikin Linux, ana iya saukewa kuma an sanya shi daga asusun ajiyar ma'aikata. Umurnin saukewa da shigarwa shine kamar haka:

Sudo apt shigar pyrenamer

Bayan shigar da shi, shigar da kalmar wucewa kuma danna Shigar. Na gaba, kuna buƙatar tabbatar da ayyukan da aka yi. Don yin wannan, shigar da wasika "D" kuma danna sake Shigar. Ya rage kawai don jira don saukewa da shigarwa (kada ku rufe "Terminal" har sai an kammala aikin).

Bayan shigarwa, za a iya gudanar da shirin, bayan yin bincike kan tsarin da sunansa.

Babban bambanci pyRenamer daga mai sarrafa fayil shine aikace-aikacen zai iya hulɗa tare da fayiloli da yawa a lokaci guda. Yana cikakke a lokuta idan kana buƙatar canza sunan a takardu da yawa yanzu, cire wani ɓangare ko maye gurbin shi tare da wani.

Bari mu dubi aikin aikin sake suna a cikin shirin:

  1. Bayan bude wannan shirin, kana buƙatar gyara hanyar zuwa jagorancin inda za'a sake rubuta fayiloli. Anyi wannan a cikin Wurin aiki na hagu (1). Bayan kayyade shugabanci a Wurin aiki na gaskiya (2) za a nuna fayiloli a cikinta.
  2. Kusa, kana buƙatar ka je shafin "Ƙungiyoyin".
  3. A cikin wannan shafin kana buƙatar sanya kasba kusa da "Sauya"sabõda haka, shigar da filayen zama aiki.
  4. Yanzu zaka iya ci gaba da sake suna fayiloli a cikin shugaban da aka zaba. Ka yi la'akari da misalin fayiloli guda hudu. "Rubutun Kira ba" tare da lambar lamba. Bari mu ce muna buƙatar maye gurbin kalmomin "Rubutun Kira ba" a kan kalma "Fayil". Don yin wannan, a filin farko shigar da sunan maye gurbin sunan fayil, a wannan yanayin "Rubutun Kira ba", kuma a cikin jimla na biyu, wanda zai maye gurbin - "Fayil".
  5. Don ganin abin da ya faru a karshen, zaka iya danna "Bugawa" (1). Duk canje-canje za'a nuna a cikin jadawalin "Sunan sunan suna ba da suna" a cikin taga mai aiki na gaskiya.
  6. Idan canje-canje ya dace da ku, za ku iya danna "Sake suna"don amfani da su zuwa fayilolin da aka zaɓa.

Bayan sake yin suna, za ka iya rufe shirin kuma ta bude mai sarrafa fayil don bincika canje-canje.

Amfani ta gaskiya pyRenamer Kuna iya yin ayyuka da yawa da yawa. Ba wai kawai don maye gurbin wani ɓangare na sunan tare da wani ba, amma kuma ta yin amfani da samfurori a shafin "Alamu", saita masu canji, da kuma sarrafa su, gyara sunayen fayiloli kamar yadda kake so. Amma babu wata ma'ana a cikin cikakken bayanin cikakken bayani, tun lokacin da ka lalata siginan kwamfuta a kan ayyukan da ke aiki, wata alama za ta bayyana.

Hanyar 2: Terminal

Abin takaici, ba koyaushe yana iya sake suna fayil ba ta amfani da shirye-shirye na musamman tare da ƙirar hoto. Wani lokaci kuskure ko wani abu kamar wannan zai iya tsangwamar da aikin wannan aikin. Amma a cikin Linux akwai hanyoyi fiye da ɗaya don kammala aikin, don haka ku tafi madaidaiciya "Ƙaddara".

Umurnin Mv

Ƙungiyar mv a cikin Linux, yana da alhakin motsawa fayiloli daga wannan shugabanci zuwa wani. Amma ainihin, motsi fayil yana kama da renaming. Don haka, ta yin amfani da wannan umarni, idan kun matsa fayil ɗin zuwa babban fayil ɗin da aka samo shi, yayin da yake sa sabon suna, za ku iya sake sa shi.

Yanzu bari mu dubi umurnin. mv.

Syntax da zaɓuɓɓukan don umurnin mv

Haɗin yana kamar haka:

mv zaži original_file_name filename after_name sake suna

Domin amfani da dukkan fasalulluran wannan umarni, kana buƙatar bincika zaɓuɓɓuka:

  • -i - nemi izni lokacin da aka maye gurbin fayiloli na yanzu;
  • -f - maye gurbin fayil ɗin da ke ciki ba tare da izini ba;
  • -n - haramta izinin maye gurbin fayil din da ke ciki;
  • -u - bada izinin sauya fayil idan akwai canje-canje a ciki;
  • -v - nuna duk fayilolin sarrafawa (jerin).

Bayan mun yi aiki tare da dukan siffofin tawagar mv, za ku iya tafiya kai tsaye zuwa tsari na sake suna.

Mv umarnin amfani dasu

Yanzu za mu yi la'akari da halin da ake ciki a yayin babban fayil "Takardun" akwai fayil mai suna "Tsohon Bayanin"Ayyukanmu shine a sake suna shi zuwa "Sabuwar Bayanin"ta yin amfani da umurnin mv in "Ƙaddara". Don wannan muna buƙatar shiga:

mv -v "Tsohon Bayanin" "Sabuwar Bayanin"

Lura: domin aiki don cin nasara, kana buƙatar bude babban fayil a cikin "Terminal" kuma kawai bayan haka ya aiwatar da duk manipulation. Za ka iya buɗe babban fayil a "Terminal" ta yin amfani da umarnin cd.

Alal misali:

Kamar yadda kake gani a cikin hoton, fayil ɗin da muke buƙatar an ba sabon suna. Lura cewa a cikin "Ƙarshe" zaɓi "-v", wanda layin da ke ƙasa ya nuna cikakken rahoto game da aikin da aka yi.

Har ila yau, ta yin amfani da umurnin mvBa za ku iya sake sunan fayil kawai ba, amma lokaci guda ya tura shi zuwa wani babban fayil. Kamar yadda aka ambata a sama, wannan umurnin shine daidai abin da ake buƙata don wannan. Don yin wannan, yana da mahimmanci, ban da ƙayyade sunan fayil, don saita hanyar zuwa gare shi.

Bari mu ce kana so daga babban fayil "Takardun" motsa fayil "Tsohon Bayanin" zuwa babban fayil "Bidiyo" lokaci guda suna sake renam shi zuwa "Sabuwar Bayanin". Wannan shi ne abin da umurnin zai yi kama da:

mv -v / gida / mai amfani / Takardun / "Tsohon bayani" / gida / mai amfani / Video / "Sabuwar takarda"

Muhimmanci: idan sunan fayil ya ƙunshi kalmomi biyu ko fiye, dole ne a haɗa shi cikin sharuddan.

Alal misali:

Lura: Idan babban fayil ɗin da kuka yi niyya don motsa fayil ɗin, da zarar ya sake suna, ba ku da 'yancin dama, dole ne ku aiwatar da umarni ta hanyar superuser ta rubuta "super su" a farkon kuma shigar da kalmar wucewa.

Sabunta sunan

Ƙungiyar mv mai kyau idan kana buƙatar sake suna daya fayil. Kuma, ba shakka, babu wani canza da ita a cikin wannan - ita ce mafi kyau Duk da haka, idan kana buƙatar sake suna da yawa fayiloli ko maye gurbin kawai ɓangare na sunan, to, umarni ya fi so sake suna.

Syntax da zaɓuɓɓuka na sake suna

Kamar yadda umarni na ƙarshe, bari mu fara tare da haɗin sake suna. Yana kama da wannan:

sake suna wani zaɓi 's / old_name_file / new_name_file /' name_of_file_name

Kamar yadda kake gani, haɗin yana da rikitarwa fiye da umurnin. mvduk da haka, yana ba ka damar yin karin ayyuka akan fayil din.

Yanzu bari mu dubi zabin, sun kasance kamar haka:

  • -v - nuna fayilolin sarrafawa;
  • -n - samfoti na canje-canje;
  • -f - karfi sake suna duk fayiloli.

Yanzu bari mu dubi misalan misalai na wannan umurnin.

Misalan yin amfani da sake suna

Ƙira a cikin shugabanci "Takardun" muna da fayiloli mai yawa "Tsohon bayani na lamba"inda num - Wannan lambobi ne. Ayyukan mu yana amfani da umurnin sake suna, a duk waɗannan fayilolin canza kalmar "Tsohon" a kan "Sabon". Don yin wannan, muna buƙatar tafiyar da umurnin mai zuwa:

sake suna -v 's / Tsoho / Sabuwar /' *

inda "*" - duk fayiloli a cikin kundin da aka kayyade.

Lura: idan kana so ka canza canjin daya, sannan a maimakon "*" rubuta sunansa. Kada ka manta, idan sunan ya ƙunshi kalmomi biyu ko fiye, to lallai dole ne a nakalto.

Alal misali:

Lura: ta yin amfani da wannan umarni, zaka iya sauya sauya kariyar fayil ta hanyar tantance tsohuwar tsawo, rubuta shi, alal misali, a cikin nau'i " .txt", sa'an nan kuma sabon, misali, " .html".

Amfani da umurnin sake suna Hakanan zaka iya canza yanayin da sunan rubutu. Alal misali, muna son fayiloli masu suna "Sabuwar FILE (num)" sake suna zuwa "sabon fayil (num)". Don haka kana buƙatar yin rajistar umarni mai zuwa:

sake suna -v 'y / A-Z / a-z /' *

Alal misali:

Lura: idan kana buƙatar canza yanayin a sunan fayiloli a cikin Rasha, to amfani da umarni "sake suna -v 'y / AZ / a-i /' *".

Hanyar 3: Mai sarrafa fayil

Abin takaici, in "Ƙaddara" Ba kowane mai amfani ba zai iya kwatanta shi, saboda haka yana da hikima a yi la'akari da yadda za a sake suna fayiloli ta amfani da ƙirar hoto.

Yin hulɗa tare da fayiloli a cikin Linux yana da kyau a yi tare da mai sarrafa fayil, kasancewa Nautilus, Dolphin ko wani (ya dogara da rarraba Linux). Yana ba ka damar ganin kodin fayiloli ba kawai, amma har takardun kundin adireshi, da kundayen adireshi, ƙaddamar da matsayi a cikin tsari wanda yafi ganewa ga mai amfani ba tare da fahimta ba. Ko da wani novice wanda ya kawai shigar Linux don kansa iya kewaya a irin waɗannan manajan.

Renaming fayil ta amfani da mai sarrafa fayil mai sauƙi ne:

  1. Da farko kana buƙatar bude manajan kuma ka je shugabanci inda fayil din da ake buƙatar sake sake suna.
  2. Yanzu kuna buƙatar kunna ta kuma danna maballin hagu na hagu (LMB) don zaɓar. Biye da maɓalli F2 ko maɓallin linzamin linzamin dama kuma zaɓi abu "Sake suna".
  3. Fom zai bayyana a kasa da fayil ɗin, kuma sunan fayil din kanta zai zama alama. Dole ne kawai ku shigar da sunan da ake bukata kuma latsa maballin Shigar don tabbatar da canje-canje.

Don haka sau ɗaya kuma da sauri zaka iya sake suna a cikin Linux. Dokar da aka gabatar ta aiki a duk masu sarrafa fayil na rabawa daban-daban, duk da haka akwai wasu bambance-bambance a cikin naming wasu abubuwa masu mahimmanci ko a cikin nuni, amma ma'anar ma'anar ayyuka har yanzu ya kasance.

Kammalawa

A sakamakon haka, zamu iya cewa akwai hanyoyi da dama don sake suna fayiloli a cikin Linux. Dukansu sun bambanta da juna kuma suna da muhimmanci a yanayi daban-daban. Alal misali, idan kana buƙatar sake suna fayiloli guda ɗaya, yana da kyau a yi amfani da mai sarrafa fayil ko umurnin mv. Kuma a cikin yanayin saukakawa ko maimaita suna, shirin yana cikakke. pyRenamer ko tawagar sake suna. Kuna da abu ɗaya da za a yi - don yanke shawarar yadda zaka yi amfani da shi.