Sida loo soo celiyo Folder ka noqday Xidhmada OS X

Sida softiweerka oo dhan, macOS kama difaaco cayayaanka ama dhibaatada mararka qaarkood. In kasta oo ay tahay dhacdo naadir ah, faylalka macOS-ku mararka qaarkood way beddeli karaan inay u muuqdaan inay yihiin faylal caadi ah oo u muuqda inay yihiin xidhmo ahaan, sida kuwa loo isticmaalo in lagu rakibo barnaamijyada cusub ee macOS. Tani waxay sidoo kale ku dhici kartaa naqshad ahaan, gaar ahaan haddii aad abuurayso software cusub.

Mahadsanid, waa hab fudud oo lagu soo celinayo fayl ku yaal Mac , haddii aad u baahan tahay. Waxaa jira dhowr siyaabood oo tan loo sameeyo, laakiin habka ugu fudud ayaa ah in la isticmaalo abka Mac Terminal- ka. (Mac Terminal)Halkan waxaa ah sida loo soo celiyo galka Mac , iyadoo aan loo eegin qaabka.

Sida loo Soo Celiyo Faylka Isku Bedelay Xidhmada OS X

Ku soo celi galka Mac adiga oo isticmaalaya Terminalka(Restore a Folder on Mac Using The Terminal)

App - ka Mac Finder(Mac Finder app) wuxuu isku dayaa inuu si toos ah u ogaado waxa faylka ama galku ujeedadiisa dhabta ahi tahay si uu u ogaado sida saxda ah ee loo maareeyo. Haddii sifooyinka khaldan lagu dabaqay galka, markaas Finder wuxuu ula dhaqmi doonaa galkaaga sidii xirmo oo kuma oggolaan doono inaad gasho faylasha lagu hayo gudaha.

Waxa kale oo ay samayn doontaa tan haddii faylkaagu leeyahay kordhinta khaldan, sida .app . Tilmaamahan si ay u shaqeeyaan, waxaad u baahan doontaa macOS Xcode Developer Tools oo lagu rakibay, maadaama amarrada getfileinfo iyo setfile aan lagu rakibin macOS si caadi ah.

  • Si aad uga saarto sifooyinkan faylalka macOS, fur Terminal app ( Launchpad > Other > Terminal ) oo isticmaal amarka cd si aad u geliso tusaha ay ku jiraan galkaaga "jaban". 
  • Sababta ugu weyn ee dhibaatadan ayaa ah in ay leedahay xirmo(has bundle) sifo yar, si aad tan u hubiso, ku qor galka getfileinfo -aB(getfileinfo -aB folder) ee ku jira barnaamijka Terminal - ka, adigoo ku beddelaya galka(folder) meesha galka aad rabto inaad hubiso. Haddii amarku soo celiyo 1 , sifadan ayaa lagu dabaqay galkaaga, taasoo la macno ah inay u baahan tahay in meesha laga saaro.

terminal leh amar getfileinfo

  • Si aad uga saarto qaybta sifada xidhmada(has bundle) ee galka kaaga oo aad dib ugu soo celiso gelitaanka, ku qor setfile-ab galka(setfile -a b folder) Terminal-ka, adigoo ku beddelaya galka(folder ) goobtaada. 
  • Ku qor faylka getfileinfo -aB(getfileinfo -aB folder) (beddelka galka(folder) ) si aad u hubiso inuu leeyahay heerka sifada xidhmada(has bundle) tan ka dib-haddii 0 la soo celiyo, sifada waa laga saaray.

Terminal leh amarrada setfile iyo getfileinfo

Marka aad ka saarto sifada xidhmada(has bundle) leh, isku day inaad gasho galka ku jira abka Finder , oo ku yaal (Finder)summada Dock(Dock) -ka ama gudaha Launchpad . Haddii aadan wali geli karin galka, hubi in galkaaga aanu lahayn kordhin aan caadi ahayn oo ku lifaaqan.

  • Ka hel galka ku yaal Finder , midig-guji(right-click) oo taabo Hel Macluumaadka(Get Info) si aad ugu shubto macluumaadkaaga sifada.

Ka hel macluumaadka liiska midig-guji

  • Tani waxay ku shubi doontaa daaqad gooni ah oo ay ku jiraan macluumaad dheeraad ah oo ku yaal galkaaga. Guji(Click) magaca iyo kordhinta(Name & Extension) qayb-hoosaadka si aad u aragto magaca "runta" ee galkaaga. Haddii ay leedahay kordhinta faylka (tusaale, .app ), ka saar oo ku dhufo gal(enter) kiiboodhkaaga si aad u kaydsato.

Magaca & Kordhinta la doortay i

  • Finder ayaa ku weydiin doona inaad xaqiijiso inaad rabto inaad ka saarto kordhinta galkaaga. Guji badhanka saar(Remove) si aad u xaqiijiso.

Ka saar daaqada xaqiijinta kordhinta

Iyadoo kordhinta meesha laga saaray, galkaaga waa inuu ku soo noqdaa sidii caadiga ahayd ee Finder , taasoo kuu ogolaanaysa inaad si caadi ah u furto. 

Waxa kale oo laga yaabaa inaad rabto inaad ka gasho faylasha iyo faylalka xirmo macOS dhab ah (sida faylka PKG ama DMG ). Haddi ay arintu sidaas tahay, habka ugu fudud ayaa ah in la soo saaro waxa ku jira gal cusub.

Soo saarida faylalka Mac Isticmaalka Terminalka(Extracting Mac Folders Using The Terminal)

Xirmada macOS ee dhabta ah waxay ku timaadaa qaabab faylal oo kala duwan, oo ay ku jiraan faylasha PKG iyo DMG . Sida aad u wajahayso soo celinta ama soo saarista galka qaababkan ayaa waxyar ka duwan. Haddii aad rabto inaad soo celiso faylalka faylalka xirmada macOS ee dhabta ah, barnaamijka Terminalku(Terminal) wuxuu kuu oggolaanayaa inaad tan sameyso.

Hababkani waxay u malaynayaan inaad isku dayayso inaad ka gasho galka faylasha PKG ama DMG ee baakadaysan . Haddii faylasha la kharribmay (ama aysan run ahayn PKG ama faylasha DMG ), markaa tilmaamahani ma shaqayn doonaan.

  • Haddii aad rabto in aad dib u soo celiso galka faylasha DMG , waxaad u baahan doontaa inaad marka hore u dhejiso sida wadista farsamada. Waxaad taas ku samayn kartaa adigoo ka furaya Terminalka Launchpad (Terminal) Launchpad > Other > Terminal
  • Ku qor hdiutil lifaaqa file.dmg(hdiutil attach file.dmg) , adigoo ku bedelaya file.dmg goobta iyo magaca faylka ee faylkaaga DMG , ka dibna taabo geli(enter) si aad u socodsiiso amarka.

hdultil amarka daaqada terminal

  • Galkaaga DMG waxa lagu rakibi doonaa sidii gal ahaan hoos timaada tusaha Volumes ee wadwadkaaga macOS. Si aad u koobiyayso waxa ku jira faylkaaga DMG gal macOS cusub, ku qor cp -r /Volumes/File/ /Users/Username/Folder , ku badala Faylka(File) magaca asalka ah ee faylkaaga DMG , oo ku badal magaca isticmaalaha (DMG)Username/Folder goobta nuqul ka samee faylasha.

cp amarka daaqada terminal

  • Ku qor hdiutil info si aad u heshid aqoonsiga wadista faylkaaga DMG ee ku rakiban , dabadeed ku qor hdiutil detach /dev/drive si aad u furto faylkaaga DMG , adigoo ku bedelaya /dev/drive qalab sax ah.

hdutil amarka daaqada terminal

Waxa ku jira faylkaaga DMG waxa lagu soo celin doonaa gal cusub, oo diyaar kuu ah inaad gasho.

  • Si aad u soo saarto faylalka iyo faylalka faylka PKG una gudub galka caadiga ah ee macOS, fur Terminal app ( Launchpad > Other > Terminal ). 
  • Halkaas, ku qor pkgutil -expand /location/file.pkg newpkgfolder , ku beddel /location/file.pkg goobta iyo magaca faylka PKG kaaga , iyo newpkgfolder oo wata gal saxan oo sax ah.

pkgutil daaqadda terminaalka

Waxa ku jira faylka xidhmada PKG waxa loo soo saarayaa meesha aad sheegtay.

Sida loo maamulo Faylasha MacOS & Folders(Handling MacOS Files & Folders)

Haddii aadan aqoon sida loo soo celiyo galka Mac , isku day hababkan marka hore. Xaalado badan, waxaad dib u soo celin kartaa faylka macOS jaban adiga oo hagaajinaya kordhinta ama ka saaraya sifooyinka faylka qaarkood. Haddii aad haysato faylka xirmada macOS dhabta ah ee qaababka PKG ama DMG , waxaad ka soo saari kartaa waxa ku jira adiga oo isticmaalaya abka Terminalka .(Terminal)

Gal kasta lama soo celin karo, si kastaba ha ahaatee. Waa inaad tixgelisaa inaad Mac-gaaga ku taageerto Machine Time(backing up your Mac with Time Machine) -ka si aad u hubiso inaad mar walba dib u soo ceshan karto faylashaada, xitaa haddii galka uu xumaado ama aan la heli karin mustaqbalka.



About the author

Waxaan ahay injineer software iyo khabiir Windows 10 ah. Waxaan leeyahay waayo-aragnimo ka badan laba sano oo ku saabsan la shaqaynta casriga ah, windows 10, iyo Microsoft Edge. Diiradayda ugu weyn waa ka dhigista aaladahaagu kuwo si ka wanaagsan oo degdeg ah u shaqeeya. Waxaan ka shaqeeyay mashaariic kala duwan shirkado ay ka mid yihiin Verizon, Imac, HP, Comcast, iyo kuwo kale oo badan. Sidoo kale waxaan ahay macalin shahaado ka haysta tababarka daruuraha Microsoft Azure.



Related posts