{"id":26232,"date":"2025-07-22T06:45:27","date_gmt":"2025-07-22T03:45:27","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/"},"modified":"2025-07-22T06:45:27","modified_gmt":"2025-07-22T03:45:27","slug":"bash-yoldan-dosya-adini-cikarma","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/","title":{"rendered":"Bash: Yoldan Dosya Ad\u0131n\u0131 \u00c7\u0131karma"},"content":{"rendered":"<p># Bash&#8217;te Dosya Ad\u0131n\u0131 Yoldan Ay\u0131rma: Tam Bir Rehber<\/p>\n<p>Dosya yollar\u0131yla \u00e7al\u0131\u015f\u0131rken, sadece dosya ad\u0131na ihtiyac\u0131n\u0131z olan durumlarla s\u0131k s\u0131k kar\u015f\u0131la\u015f\u0131rs\u0131n\u0131z.  Bir beti\u011fin i\u00e7inde, bir log dosyas\u0131n\u0131n ad\u0131n\u0131 kaydetmek, bir veritaban\u0131na dosya ad\u0131n\u0131 eklemek veya bir dosyay\u0131 yeniden adland\u0131rmak gibi i\u015flemler i\u00e7in dosya yolundan dosya ad\u0131n\u0131 ay\u0131rman\u0131z gerekir.  Bu makalede, Bash betiklerinde dosya ad\u0131n\u0131 yoldan ay\u0131rman\u0131n farkl\u0131 y\u00f6ntemlerini, performans optimizasyonlar\u0131n\u0131 ve ileri d\u00fczey teknikleri ad\u0131m ad\u0131m ele alaca\u011f\u0131z.  Ba\u015flang\u0131\u00e7 seviyesinden ileri seviyeye kadar her seviyeden kullan\u0131c\u0131n\u0131n anlayabilece\u011fi \u015fekilde a\u00e7\u0131klamalar ve ger\u00e7ek hayattan \u00f6rnekler sunaca\u011f\u0131z.<\/p>\n<p><strong>\u00d6\u011frenme Yol Haritas\u0131<\/strong><\/p>\n<p>Bu rehber, Bash&#8217;te dosya ad\u0131n\u0131 yoldan ay\u0131rmay\u0131 ad\u0131m ad\u0131m \u00f6\u011frenmenizi sa\u011flayacak \u015fekilde tasarlanm\u0131\u015ft\u0131r.  A\u015fa\u011f\u0131daki seviyelere g\u00f6re ilerleyece\u011fiz:<\/p>\n<p><strong>Yeni Ba\u015flayan:<\/strong> Basit komutlar ve a\u00e7\u0131klamalar ile ba\u015flayaca\u011f\u0131z.<\/p>\n<p><strong>Orta Seviye:<\/strong> Ger\u00e7ek d\u00fcnya senaryolar\u0131 ve optimizasyon ipu\u00e7lar\u0131 ekleyece\u011fiz.<\/p>\n<p><strong>\u0130leri Seviye:<\/strong> Performans analizi ve istisnai durumlar (edge caseler) ele al\u0131nacakt\u0131r.<\/p>\n<p><strong>1. Temel Kavramlar: Dosya Yollar\u0131 ve Bash<\/strong><\/p>\n<p>Bir dosya yolu, i\u015fletim sisteminin bir dosyay\u0131 veya klas\u00f6r\u00fc bulmak i\u00e7in kulland\u0131\u011f\u0131 adrestir.  \u00d6rne\u011fin, <code class=\"language-\">\/home\/kullanici\/belgeler\/rapor.txt<\/code> yolunda <code class=\"language-\">\/home\/kullanici\/belgeler\/<\/code> dizini ve <code class=\"language-\">rapor.txt<\/code> dosya ad\u0131 bulunur.  Bash, Linux ve macOS sistemlerinde kullan\u0131lan komut yorumlay\u0131c\u0131s\u0131d\u0131r.  Bash betikleri, otomasyon ve dosya i\u015flemleri i\u00e7in g\u00fc\u00e7l\u00fc bir ara\u00e7t\u0131r.<\/p>\n<p><strong>2.  Yeni Ba\u015flayanlar \u0130\u00e7in:  <code class=\"language-\">basename<\/code> Komutu ile Dosya Ad\u0131 \u00c7\u0131karma<\/strong><\/p>\n<p>En basit y\u00f6ntem <code class=\"language-\">basename<\/code> komutudur. Bu komut, verilen bir yoldan son bile\u015feni (dosya ad\u0131 veya dizin ad\u0131) ay\u0131r\u0131r.<\/p>\n<p><strong>Ad\u0131m ad\u0131m a\u00e7\u0131klama:<\/strong><\/p>\n<p>1. <strong>Komutu \u00e7al\u0131\u015ft\u0131r\u0131n:<\/strong>  <code class=\"language-\">basename <yol><\/code> komutunu kullanarak dosya yolunu girin.<br \/>\n2. <strong>Sonu\u00e7:<\/strong> Komut, yolun son bile\u015fenini (dosya ad\u0131) ekrana yazd\u0131r\u0131r.<\/p>\n<p><strong>Basit Kod \u00d6rne\u011fi:<\/strong><\/p>\n<pre class=\"language-bash\"><code>yol=&quot;\/home\/kullanici\/belgeler\/rapor.txt&quot;\ndosya_adi=$(basename &quot;$yol&quot;)\necho &quot;Dosya Ad\u0131: $dosya_adi&quot;<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">rapor.txt<\/code> \u00e7\u0131kt\u0131s\u0131n\u0131 verecektir.  <code class=\"language-\">$()<\/code>  komutu ile <code class=\"language-\">basename<\/code> komutunun \u00e7\u0131kt\u0131s\u0131 <code class=\"language-\">dosya_adi<\/code> de\u011fi\u015fkenine atan\u0131r.  \u00c7ift t\u0131rnaklar (<code class=\"language-\">\"<\/code>), yol de\u011fi\u015fkeninde bo\u015fluk olmas\u0131 durumunda sorun ya\u015fanmamas\u0131n\u0131 sa\u011flar.<\/p>\n<p><strong>3. Orta Seviye: Ger\u00e7ek Hayatta Dosya Ad\u0131 \u00c7\u0131karma \u00d6rnekleri ve Optimizasyon \u0130pu\u00e7lar\u0131<\/strong><\/p>\n<p>\u015eimdi, daha ger\u00e7ek\u00e7i senaryolar\u0131 ele alal\u0131m.  \u00d6rne\u011fin, bir dizindeki t\u00fcm dosyalar\u0131n adlar\u0131n\u0131 almak isteyebilirsiniz.<\/p>\n<p><strong>Ger\u00e7ek Hayat \u00d6rne\u011fi:<\/strong><\/p>\n<p>Bir dizindeki t\u00fcm <code class=\"language-\">.txt<\/code> dosyalar\u0131n\u0131n adlar\u0131n\u0131 almak i\u00e7in a\u015fa\u011f\u0131daki kodu kullanabilirsiniz:<\/p>\n<pre class=\"language-bash\"><code>for dosya in *.txt; do\n  dosya_adi=$(basename &quot;$dosya&quot;)\n  echo &quot;Dosya Ad\u0131: $dosya_adi&quot;\ndone<\/code><\/pre>\n<p>Bu kod, mevcut dizindeki t\u00fcm <code class=\"language-\">.txt<\/code> dosyalar\u0131n\u0131 i\u015fler ve her birinin ad\u0131n\u0131 ekrana yazd\u0131r\u0131r.<\/p>\n<p><strong>Optimizasyon \u0130pu\u00e7lar\u0131:<\/strong><\/p>\n<p>* <strong><code class=\"language-\">find<\/code> komutu:<\/strong>  \u00c7ok say\u0131da dosya ile \u00e7al\u0131\u015f\u0131yorsan\u0131z, <code class=\"language-\">find<\/code> komutu daha verimli olabilir.  <code class=\"language-\">find<\/code> komutu, belirli kriterlere uyan dosyalar\u0131 bulmak i\u00e7in kullan\u0131l\u0131r. \u00d6rne\u011fin:<\/p>\n<pre class=\"language-bash\"><code>find \/home\/kullanici\/belgeler -name &quot;*.txt&quot; -print0 | while IFS= read -r -d $'\\0' dosya; do\n  dosya_adi=$(basename &quot;$dosya&quot;)\n  echo &quot;Dosya Ad\u0131: $dosya_adi&quot;\ndone<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">\/home\/kullanici\/belgeler<\/code> dizini ve alt dizinlerindeki t\u00fcm <code class=\"language-\">.txt<\/code> dosyalar\u0131n\u0131 bulur ve adlar\u0131n\u0131 yazd\u0131r\u0131r.  <code class=\"language-\">-print0<\/code> ve <code class=\"language-\">read -r -d $'\\0'<\/code> se\u00e7enekleri, dosya adlar\u0131nda bo\u015fluk veya \u00f6zel karakter olmas\u0131 durumunda sorunlar\u0131 \u00f6nler.<\/p>\n<p>* <strong><code class=\"language-\">parameter expansion<\/code>:<\/strong>  Daha temiz ve h\u0131zl\u0131 bir yakla\u015f\u0131m i\u00e7in Bash&#8217;in yerle\u015fik parametre geni\u015fletme \u00f6zelli\u011fini kullanabilirsiniz.  Bu y\u00f6ntem, <code class=\"language-\">basename<\/code> komutuna olan ihtiyac\u0131 ortadan kald\u0131r\u0131r:<\/p>\n<pre class=\"language-bash\"><code>yol=&quot;\/home\/kullanici\/belgeler\/rapor.txt&quot;\ndosya_adi=&quot;${yol<strong>*\/}&quot;<\/strong>\necho &quot;Dosya Ad\u0131: $dosya_adi&quot;<\/code><\/pre>\n<p><code class=\"language-\">\"${yol<strong>*\/}\"<\/code> ifadesi, <code class=\"language-\">$yol<\/code> de\u011fi\u015fkeninden son <code class=\"language-\">\/<\/code> karakterinden sonraki her \u015feyi al\u0131r. Bu,  <code class=\"language-\">basename<\/code> komutundan daha h\u0131zl\u0131d\u0131r \u00e7\u00fcnk\u00fc ayr\u0131 bir i\u015flem \u00e7a\u011fr\u0131s\u0131 gerektirmez.<\/strong><\/p>\n<p><strong>4. \u0130leri D\u00fczey: Performans Analizi ve \u0130stisnai Durumlar (Edge Caseler)<\/strong><\/p>\n<p><strong>Performans Analizi:<\/strong><\/p>\n<p><code class=\"language-\">basename<\/code> ve parametre geni\u015fletme y\u00f6ntemlerinin performans\u0131n\u0131 kar\u015f\u0131la\u015ft\u0131ral\u0131m.  \u00c7ok say\u0131da dosya \u00fczerinde testler yaparak, parametre geni\u015fletmenin genellikle daha h\u0131zl\u0131 oldu\u011funu g\u00f6rebilirsiniz. Bunun nedeni, <code class=\"language-\">basename<\/code> komutunun ayr\u0131 bir i\u015flem olarak \u00e7al\u0131\u015ft\u0131r\u0131lmas\u0131 ve bu i\u015flemin ba\u015flat\u0131lmas\u0131 ve sonland\u0131r\u0131lmas\u0131n\u0131n zaman almas\u0131d\u0131r.  Parametre geni\u015fletme ise Bash yorumlay\u0131c\u0131s\u0131 i\u00e7inde yerle\u015fik bir i\u015flemdir ve daha h\u0131zl\u0131d\u0131r.<\/p>\n<p><strong>\u0130stisnai Durumlar (Edge Caseler):<\/strong><\/p>\n<p>* <strong>Bo\u015f yol:<\/strong>  E\u011fer yol bo\u015fsa (<code class=\"language-\">\"\"<\/code>), <code class=\"language-\">basename<\/code> komutu bo\u015f bir dize d\u00f6nd\u00fcr\u00fcr.  Bu durumu kontrol etmeniz gerekir.<br \/>\n* <strong>Yaln\u0131zca dosya ad\u0131:<\/strong>  Yol sadece dosya ad\u0131ndan olu\u015fuyorsa (\u00f6rne\u011fin, <code class=\"language-\">rapor.txt<\/code>), <code class=\"language-\">basename<\/code> yine do\u011fru sonucu verir.<br \/>\n* <strong>Yolun sonundaki <code class=\"language-\">\/<\/code> karakteri:<\/strong>  Yolun sonundaki <code class=\"language-\">\/<\/code> karakteri, <code class=\"language-\">basename<\/code> komutunun \u00e7\u0131kt\u0131s\u0131n\u0131 etkilemez.  Parametre geni\u015fletme y\u00f6ntemi ise bu durumda bo\u015f bir dize d\u00f6nd\u00fcr\u00fcr.  Bu durumlar\u0131 kodunuzda ele alman\u0131z gerekir.<\/p>\n<p><strong>\u00d6rnek:<\/strong>  Bo\u015f yol durumunu kontrol eden kod:<\/p>\n<pre class=\"language-bash\"><code>yol=&quot;\/home\/kullanici\/belgeler\/rapor.txt&quot;\nif [[ -z &quot;$yol&quot; ]]; then\n  echo &quot;Yol bo\u015f!&quot;\nelse\n  dosya_adi=&quot;${yol<strong>*\/}&quot;<\/strong>\n  echo &quot;Dosya Ad\u0131: $dosya_adi&quot;\nfi<\/code><\/pre>\n<p><strong>5.  <code class=\"language-\">sed<\/code> Komutu ile Dosya Ad\u0131 \u00c7\u0131karma<\/strong><\/p>\n<p>Daha karma\u015f\u0131k yol yap\u0131lar\u0131nda, <code class=\"language-\">sed<\/code> komutu da kullan\u0131labilir.  <code class=\"language-\">sed<\/code> g\u00fc\u00e7l\u00fc bir ak\u0131\u015f d\u00fczenleme arac\u0131d\u0131r ve d\u00fczenli ifadelerle \u00e7al\u0131\u015fabilir.<\/p>\n<pre class=\"language-bash\"><code>yol=&quot;\/home\/kullanici\/belgeler\/rapor.txt&quot;\ndosya_adi=$(echo &quot;$yol&quot; | sed 's\/.*\\\/\/\/')\necho &quot;Dosya Ad\u0131: $dosya_adi&quot;<\/code><\/pre>\n<p>Bu komut, <code class=\"language-\">sed<\/code>&#8216;i kullanarak yoldaki son <code class=\"language-\">\/<\/code> karakterinden sonraki k\u0131sm\u0131 ay\u0131r\u0131r.  Bu y\u00f6ntem,  <code class=\"language-\">basename<\/code> kadar verimli olmayabilir, ancak daha karma\u015f\u0131k d\u00fczenleme i\u015flemleri i\u00e7in kullan\u0131labilir.<\/p>\n<p><strong>6.  <code class=\"language-\">awk<\/code> Komutu ile Dosya Ad\u0131 \u00c7\u0131karma<\/strong><\/p>\n<p><code class=\"language-\">awk<\/code> komutu da dosya ad\u0131n\u0131 \u00e7\u0131karmak i\u00e7in kullan\u0131labilir.  <code class=\"language-\">awk<\/code> g\u00fc\u00e7l\u00fc bir metin i\u015fleme arac\u0131d\u0131r ve alanlara g\u00f6re ayr\u0131lm\u0131\u015f verilerle etkili bir \u015fekilde \u00e7al\u0131\u015f\u0131r.<\/p>\n<pre class=\"language-bash\"><code>yol=&quot;\/home\/kullanici\/belgeler\/rapor.txt&quot;\ndosya_adi=$(echo &quot;$yol&quot; | awk -F'\/' '{print $NF}')\necho &quot;Dosya Ad\u0131: $dosya_adi&quot;<\/code><\/pre>\n<p>Bu komut, <code class=\"language-\">\/<\/code> karakterini alan ay\u0131r\u0131c\u0131 olarak kullan\u0131r (<code class=\"language-\">-F'\/'<\/code>) ve son alan\u0131 (<code class=\"language-\">$NF<\/code>) yazd\u0131r\u0131r. Bu y\u00f6ntem, <code class=\"language-\">sed<\/code> ile benzer performansa sahiptir.<\/p>\n<p><strong>7.  Performans Optimizasyonu i\u00e7in \u0130pu\u00e7lar\u0131 ve Stratejiler<\/strong><\/p>\n<p>Yukar\u0131da bahsetti\u011fimiz y\u00f6ntemlerin performans\u0131n\u0131 art\u0131rmak i\u00e7in birka\u00e7 ipucu:<\/p>\n<p>* <strong>Yerle\u015fik komutlar\u0131 tercih edin:<\/strong>  <code class=\"language-\">basename<\/code> komutundan daha h\u0131zl\u0131 olan parametre geni\u015fletmeyi tercih edin.<br \/>\n* <strong><code class=\"language-\">find<\/code> komutunu etkili kullan\u0131n:<\/strong>  B\u00fcy\u00fck miktarda dosya ile \u00e7al\u0131\u015f\u0131rken, <code class=\"language-\">find<\/code> komutunu kullanarak dosyalar\u0131 filtreleyin ve i\u015fleme s\u00fcresini k\u0131salt\u0131n.<br \/>\n* <strong>D\u00f6ng\u00fcleri optimize edin:<\/strong>  D\u00f6ng\u00fcler i\u00e7inde dosya i\u015flemi yaparken, gereksiz i\u015flemleri en aza indirin.<br \/>\n* <strong>Paralel i\u015flem:<\/strong>  \u00c7ok say\u0131da dosya ile \u00e7al\u0131\u015f\u0131yorsan\u0131z, paralel i\u015flem tekniklerini kullanarak performans\u0131 art\u0131rabilirsiniz.  <code class=\"language-\">xargs<\/code> komutu bu konuda yard\u0131mc\u0131 olabilir.<\/p>\n<p><strong>8. Sonu\u00e7<\/strong><\/p>\n<p>Bu makalede, Bash&#8217;te dosya ad\u0131n\u0131 yoldan ay\u0131rman\u0131n \u00e7e\u015fitli y\u00f6ntemlerini ele ald\u0131k.  <code class=\"language-\">basename<\/code> komutu, yeni ba\u015flayanlar i\u00e7in basit ve kullan\u0131\u015fl\u0131 bir y\u00f6ntemdir.  Daha geli\u015fmi\u015f senaryolar i\u00e7in parametre geni\u015fletme, <code class=\"language-\">find<\/code>, <code class=\"language-\">sed<\/code> ve <code class=\"language-\">awk<\/code> komutlar\u0131n\u0131 kullanabilirsiniz.  Performans\u0131 optimize etmek i\u00e7in yerle\u015fik komutlar\u0131 tercih etmeli ve gereksiz i\u015flemleri en aza indirmelisiniz.  Uygun y\u00f6ntemi se\u00e7erken, verimlili\u011fi ve okunabilirli\u011fi dengelemeniz \u00f6nemlidir.<\/p>\n<p><strong>S\u0131k\u00e7a Sorulan Sorular:<\/strong><\/p>\n<p>1. <strong>Hangi y\u00f6ntem en h\u0131zl\u0131d\u0131r?<\/strong>  Genellikle, Bash&#8217;in yerle\u015fik parametre geni\u015fletme y\u00f6ntemi en h\u0131zl\u0131d\u0131r.<\/p>\n<p>2. <strong>Dosya ad\u0131nda bo\u015fluk varsa ne olur?<\/strong>  \u00c7ift t\u0131rnaklar\u0131 kullanarak bu sorunu \u00e7\u00f6zebilirsiniz.<\/p>\n<p>3. <strong>\u00c7ok say\u0131da dosya ile nas\u0131l \u00e7al\u0131\u015fabilirim?<\/strong>  <code class=\"language-\">find<\/code> komutu ve paralel i\u015flem teknikleri kullanabilirsiniz.<\/p>\n<p>4. <strong>Dosya uzant\u0131s\u0131n\u0131 nas\u0131l \u00e7\u0131karabilirim?<\/strong>  <code class=\"language-\">sed<\/code> veya <code class=\"language-\">awk<\/code> komutlar\u0131n\u0131 kullanarak dosya uzant\u0131s\u0131n\u0131 ay\u0131rmak i\u00e7in d\u00fczenli ifadeler kullanabilirsiniz.  \u00d6rne\u011fin <code class=\"language-\">sed 's\/\\.[^.]*$\/\/'<\/code>  komutu, dosya uzant\u0131s\u0131n\u0131 kald\u0131r\u0131r.<\/p>\n<p>5.  <strong>Dosya yolunda \u00f6zel karakterler varsa ne yapmal\u0131y\u0131m?<\/strong> <code class=\"language-\">find<\/code> komutu ile <code class=\"language-\">-print0<\/code> ve <code class=\"language-\">read -r -d $'\\0'<\/code> se\u00e7eneklerini kullanarak \u00f6zel karakter i\u00e7eren dosya adlar\u0131n\u0131 g\u00fcvenli bir \u015fekilde i\u015fleyebilirsiniz.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# Bash&#8217;te Dosya Ad\u0131n\u0131 Yoldan Ay\u0131rma: Tam Bir Rehber Dosya yollar\u0131yla \u00e7al\u0131\u015f\u0131rken, sadece dosya ad\u0131na ihtiyac\u0131n\u0131z olan durumlarla&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1328],"tags":[],"class_list":{"0":"post-26232","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-bash","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bash: Yoldan Dosya Ad\u0131n\u0131 \u00c7\u0131karma<\/title>\n<meta name=\"description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bash: Yoldan Dosya Ad\u0131n\u0131 \u00c7\u0131karma\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-22T03:45:27+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"Bash: Yoldan Dosya Ad\u0131n\u0131 \u00c7\u0131karma\",\"datePublished\":\"2025-07-22T03:45:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/\"},\"wordCount\":1143,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"Bash\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/\",\"name\":\"Bash: Yoldan Dosya Ad\u0131n\u0131 \u00c7\u0131karma\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-07-22T03:45:27+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bash: Yoldan Dosya Ad\u0131n\u0131 \u00c7\u0131karma\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Bash: Yoldan Dosya Ad\u0131n\u0131 \u00c7\u0131karma","description":"Hi\u00e7bir etiketi bulunamad\u0131.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/","og_locale":"tr_TR","og_type":"article","og_title":"Bash: Yoldan Dosya Ad\u0131n\u0131 \u00c7\u0131karma","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-07-22T03:45:27+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"7 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"Bash: Yoldan Dosya Ad\u0131n\u0131 \u00c7\u0131karma","datePublished":"2025-07-22T03:45:27+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/"},"wordCount":1143,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["Bash"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/","url":"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/","name":"Bash: Yoldan Dosya Ad\u0131n\u0131 \u00c7\u0131karma","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-07-22T03:45:27+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/bash-yoldan-dosya-adini-cikarma\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Bash: Yoldan Dosya Ad\u0131n\u0131 \u00c7\u0131karma"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/26232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=26232"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/26232\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=26232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=26232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=26232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}