Lub Mac's OS X thiab macOS operating systems txhawb nqa ntau hom kev txuas mus rau cov ntaub ntawv thiab cov folders. Shortcut links ua rau nws yooj yim rau kev taw qhia rau cov khoom uas faus tob hauv cov ntaub ntawv. Macs txhawb peb hom shortcut txuas:
- Aliases
- Symbolic links
- Hard links
Txhua peb hom kev sib txuas yog shortcuts rau cov khoom qub ntawm cov ntaub ntawv. Cov khoom siv cov ntaub ntawv feem ntau yog cov ntaub ntawv ntawm koj lub Mac, tab sis nws tuaj yeem ua tau ib daim ntawv tais ceev tseg, tsav, lossis cov khoom siv sib txuas.
Txheej txheem cej luam ntawm Aliases, Symbolic Links, thiab Hard Links
Shortcut links yog cov ntaub ntawv me me uas hais txog lwm cov khoom siv. Thaum lub kaw lus ntsib qhov shortcut txuas, nws nyeem cov ntaub ntawv, uas muaj cov ntaub ntawv hais txog qhov twg cov khoom qub nyob, thiab mam li mus qhib qhov khoom ntawd. Rau feem ntau, qhov no tshwm sim yam tsis muaj tus neeg siv paub tias lawv tau ntsib qhov txuas ntawm qee hom. Tag nrho peb hom kev sib txuas tshwm sim pob tshab rau cov neeg siv lossis app uas ua rau siv lawv.
Qhov kev pom tseeb no tso cai rau cov kab txuas luv siv rau ntau lub hom phiaj sib txawv. Ib qho ntawm feem ntau yog kom yooj yim nkag mus rau cov ntaub ntawv lossis cov ntawv tais ceev tseg uas tau faus tob rau hauv cov ntaub ntawv kaw lus. Piv txwv li, tej zaum koj yuav tau tsim ib daim ntawv teev nyiaj hauv koj cov ntaub ntawv nplaub tshev rau khaws cov ntaub ntawv hauv tuam txhab nyiaj thiab lwm yam ntaub ntawv nyiaj txiag. Yog tias koj siv daim nplaub tshev no ntau zaus, koj tuaj yeem tsim ib lub npe rau nws thiab muab tso rau ntawm lub desktop. Hloov chaw ntawm kev siv Finder los taug kev los ntawm ntau cov ntawv tais ceev tseg kom nkag mus rau hauv phau ntawv teev npe, koj tuaj yeem nyem rau ntawm nws lub desktop alias. Lub alias yuav coj koj mus rau lub nplaub tshev thiab nws cov ntaub ntawv, luv luv-circuiting ib tug ntev navigation txheej txheem.
Lwm kev siv rau cov ntaub ntawv kaw lus luv yog siv tib cov ntaub ntawv hauv ntau qhov chaw, tsis tas yuav tsum luam cov ntaub ntawv lossis khaws cov ntaub ntawv synced.
Rov qab mus rau accounting folder piv txwv, tej zaum koj yuav muaj ib daim ntawv thov uas koj siv los taug qab cov khw muag khoom xaiv, thiab lub app yuav tsum khaws nws cov ntaub ntawv cov ntaub ntawv hauv ib daim ntawv teev tseg ua ntej. Es tsis txhob luam cov ntaub ntawv teev npe mus rau qhov chaw thib ob thiab txhawj xeeb txog kev khaws ob lub folders hauv sync, koj tuaj yeem tsim ib qho alias lossis ib qho cim txuas. Txoj kev ntawd, cov khoom lag luam app pom cov ntaub ntawv hauv nws daim nplaub tshev tshwj xeeb tab sis nkag mus rau cov ntaub ntawv uas tau khaws cia hauv koj daim ntawv teev nyiaj txiag.
Txhua peb hom shortcuts yog txoj hauv kev nkag mus rau ib qho khoom hauv koj lub Mac cov ntaub ntawv los ntawm lwm qhov tsis yog nws qhov chaw qub. Txhua hom shortcut muaj cov yam ntxwv tshwj xeeb uas haum rau qee qhov kev siv dua li lwm tus.
Aliases
Tus alias yog qhov qub thiab nrov tshaj plaws luv luv rau Mac. Nws cov hauv paus hniav rov qab mus rau Qhov System 7. Feem ntau cov neeg siv Mac paub yuav ua li cas los tsim aliases thiab siv lawv li cas.
Aliases yog tsim thiab tswj hwm ntawm qib Finder, uas txhais tau tias yog tias koj siv Terminal lossis tsis yog Mac daim ntawv thov, xws li ntau UNIX apps thiab cov khoom siv hluav taws xob, ib lub npe alias yuav tsis ua haujlwm rau koj. OS X thiab macOS pom cov npe hu ua cov ntaub ntawv me me, uas lawv yog, tab sis lawv tsis paub txhais cov ntaub ntawv lawv muaj li cas.
Qhov no yuav zoo li yog qhov tsis txaus ntseeg, tab sis cov npe npe yog qhov muaj zog tshaj plaws ntawm peb hom kev luv luv. Rau cov neeg siv Mac thiab cov apps, cov npe npe kuj tseem muaj ntau yam ntawm cov shortcuts.
Thaum koj tsim ib qho alias rau ib qho khoom, lub kaw lus tsim cov ntaub ntawv me me uas suav nrog txoj hauv kev tam sim no rau cov khoom, nrog rau cov khoom lub npe inode. Txhua yam khoom lub npe inode yog ib txoj hlua ntev ntawm tus lej, ywj siab ntawm lub npe koj muab cov khoom thiab lav tias nws yuav tsum tau tshwj xeeb rau txhua qhov ntim lossis tsav koj Mac siv.
Tom qab koj tsim cov ntaub ntawv alias, koj tuaj yeem txav mus rau txhua qhov chaw hauv koj lub Mac cov ntaub ntawv ntau zaus raws li koj nyiam, thiab nws tseem taw qhia rov qab mus rau qhov khoom qub. Qhov ntawd yog qhov ntse, tab sis aliases coj lub tswv yim ib kauj ruam ntxiv.
Ntxiv rau kev txav lub npe, koj tuaj yeem txav cov khoom qub nyob qhov twg hauv koj lub Mac cov ntaub ntawv. Lub alias tseem nrhiav tau cov ntaub ntawv. Aliases tuaj yeem ua qhov kev dag ntxias zoo li no vim tias lawv muaj lub npe inode ntawm cov khoom qub. Vim tias txhua yam khoom lub npe inode yog qhov tshwj xeeb, lub kaw lus tuaj yeem pom cov ntaub ntawv qub, txawm tias koj muab nws tso rau qhov twg.
Cov txheej txheem ua haujlwm zoo li no: Thaum koj nkag mus rau lub npe hu ua, lub kaw lus kuaj xyuas seb cov khoom qub puas nyob ntawm lub npe nkag rau hauv cov ntaub ntawv alias. Yog tias nws yog, qhov system nkag mus rau nws, thiab qhov ntawd yog qhov ntawd. Yog tias cov khoom tau txav mus, lub kaw lus tshawb nrhiav cov ntaub ntawv uas muaj tib lub npe inode raws li ib qho khaws cia hauv cov ntaub ntawv alias. Thaum nws pom ib lub npe sib xws, lub kaw lus txuas mus rau cov khoom.
Ua ib daim ntawv alias yog qhov yooj yim. Xaiv lub npe cov ntaub ntawv nyob rau hauv ib tug Finder qhov rais, coj mus rhaub lub cog icon, thiab xaiv Ua Alias.
Symbolic Links
Symbolic links (lossis symlinks) thiab cov kev sib txuas nyuaj tsis tshua muaj, thiab lawv xav tau ib theem kev nplij siab hauv daim ntawv thov Terminal.
Ib lub cim txuas yog hom luv luv uas yog ib feem ntawm UNIX thiab Linux cov ntaub ntawv. Vim tias OS X thiab macOS tau tsim nyob rau sab saum toj ntawm UNIX, lawv txhawb nqa cov cim txuas. Cov cim sib txuas zoo ib yam li cov npe nyob rau hauv uas lawv yog cov ntaub ntawv me me uas muaj cov npe pathname rau cov khoom qub. Txawm li cas los xij, tsis zoo li aliases, cov cim txuas tsis muaj lub npe inode ntawm cov khoom. Yog tias koj txav cov khoom mus rau lwm qhov chaw, cov cim txuas tau tawg, thiab lub kaw lus nrhiav tsis pom cov khoom.
Qhov ntawd yuav zoo li tsis muaj zog, tab sis nws kuj yog lub zog. Txij li cov cim txuas pom ib qho khoom los ntawm nws lub npe, yog tias koj hloov ib qho khoom nrog lwm yam khoom uas dais tib lub npe thiab nyob hauv tib qhov chaw, cov cim txuas txuas ntxiv ua haujlwm. Qhov no ua rau cov cim txuas ib txwm muaj rau kev tswj hwm version. Piv txwv li, koj tuaj yeem tsim qhov kev tswj hwm yooj yim rau cov ntawv nyeem hu ua MyTextFile. Koj tuaj yeem khaws cov ntawv qub qub ntawm cov ntaub ntawv nrog tus lej lossis hnub ntxiv, xws li MyTextFile2, thiab khaws cov ntaub ntawv tam sim no raws li MyTextFile.
Hard Links
Zoo li cov cim sib txuas, cov txuas nyuaj yog ib feem ntawm UNIX cov ntaub ntawv hauv qab. Cov ntawv txuas nyuaj yog cov ntaub ntawv me me uas, zoo li lub npe npe, muaj cov khoom qub lub npe inode. Tsis zoo li cov npe npe thiab cov cim sib txuas, cov kev sib txuas nyuaj tsis muaj lub npe rau ntawm qhov khoom qub. Koj feem ntau siv qhov txuas nyuaj thaum koj xav kom ib qho khoom siv ib zaug los tshwm hauv ntau qhov chaw. Tsis zoo li cov npe npe thiab cov cim sib txuas, koj tsis tuaj yeem rho tawm cov khoom siv nyuaj-txuas los ntawm cov ntaub ntawv kaw lus yam tsis tau tshem tawm txhua qhov txuas nyuaj rau nws.