{"id":50977,"date":"2026-01-02T21:56:11","date_gmt":"2026-01-03T00:56:11","guid":{"rendered":"https:\/\/mastertrend.info\/?p=50977"},"modified":"2026-01-02T21:56:11","modified_gmt":"2026-01-03T00:56:11","slug":"mv-komutunun-kullanimi","status":"publish","type":"post","link":"https:\/\/mastertrend.info\/tr\/uso-del-comando-mv\/","title":{"rendered":"mv komutunun kullan\u0131m\u0131 ve Linux dosya y\u00f6netimi \u00fczerindeki etkileri"},"content":{"rendered":"<h2>Modern Linux ortamlar\u0131nda mv komutunun kullan\u0131m\u0131<\/h2>\n<p>`mv` komutunu kullanmak, yerel bir masa\u00fcst\u00fcnde veya uzak bir sunucuda olsun, Linux ile \u00e7al\u0131\u015fan herkes i\u00e7in g\u00fcnl\u00fck bir karard\u0131r. Basit bir komut gibi g\u00f6r\u00fcnse de, yanl\u0131\u015f kullan\u0131m\u0131 veri kayb\u0131na, beklenmedik dosya \u00fczerine yazmaya veya verimsiz i\u015f ak\u0131\u015flar\u0131na yol a\u00e7abilir. G\u00fcn\u00fcm\u00fczde, genel cevaplara g\u00fcvenmekten ziyade, se\u00e7eneklerini ve inceliklerini anlamak daha \u00f6nemlidir.<\/p>\n<p>Ta\u015f\u0131 ve yeniden adland\u0131r <a title=\"Linux dizin yap\u0131s\u0131 a\u00e7\u0131kland\u0131\" href=\"https:\/\/mastertrend.info\/tr\/linux-dizin-yapisi\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"15794\">Linux terminalindeki dosyalar<\/a> es r\u00e1pido y sencillo, pero primero necesitas entender c\u00f3mo hacerlo correctamente. Ya sea que est\u00e9s trabajando directamente en la m\u00e1quina o conectado remotamente v\u00eda SSH, estos comandos te ayudar\u00e1n a <a href=\"https:\/\/mastertrend.info\/tr\/editor-vi\/\" title=\"Edit\u00f6r Vi: \u00c7ok az ki\u015finin bildi\u011fi Linux hilesi! Ke\u015ffedin! \ud83d\udd25\" target=\"_blank\" rel=\"noopener\"  data-wpil-monitor-id=\"21132\">gestionar archivos eficazmente<\/a>.<\/p>\n<p>Bu pratik k\u0131lavuzda komutun temellerini \u00f6\u011frenece\u011fiz. <em>mv<\/em>Dosyalar\u0131 ta\u015f\u0131mak ve yeniden adland\u0131rmak i\u00e7in kullan\u0131lan komut sat\u0131r\u0131 arac\u0131na da g\u00f6z ataca\u011f\u0131z. Ayr\u0131ca, kullan\u0131m\u0131n\u0131 iyile\u015ftiren ve g\u00fcnl\u00fck i\u015flerimizi kolayla\u015ft\u0131ran baz\u0131 geli\u015fmi\u015f komut sat\u0131rlar\u0131n\u0131 da inceleyece\u011fiz.<\/p>\n<aside class=\"hawk-base\" data-block-type=\"embed\" data-render-type=\"fte\" data-skip=\"dealsy\" data-widget-type=\"seasonal\"><\/aside>\n<p>Bu komutlar <a title=\"Linux&#039;a Ge\u00e7i\u015f: Kimsenin Size S\u00f6ylemedi\u011fi (ve \u0130\u015fe Yarayan) \u015eeyler \ud83d\ude31\" href=\"https:\/\/mastertrend.info\/tr\/linuxa-gecis\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"15793\">\u00c7o\u011fu Linux da\u011f\u0131t\u0131m\u0131nda \u00e7al\u0131\u015f\u0131rlar.<\/a>\u00d6rneklerimiz <a href=\"https:\/\/kubuntu.org\/archives\/xmlrpc.php%3Frsd.html\" target=\"_blank\" rel=\"noopener\" data-schema-attribute=\"mentions\">Kubuntu \u00fczerinde test edildiler.<\/a>Ama onlar\u0131 ayr\u0131ca \u015fu platformlarda da takip edebilirsiniz: <u>Raspberry Pi<\/u>.<\/p>\n<h2 id=\"renombrar-un-archivo-individual\">Tek bir dosyay\u0131 yeniden adland\u0131r<\/h2>\n<figure class=\"van-image-figure inline-layout\" data-bordeaux-image-check=\"\"><picture><source type=\"image\/webp\" \/><\/picture> <picture><img decoding=\"async\" class=\"expandable\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/06\/Como-Mover-y-Renombrar-Archivos-en-la-Terminal-de-Linux.png\" alt=\"Linux&#039;ta mv komutuyla dosyalar\u0131 ta\u015f\u0131ma ve yeniden adland\u0131rma\" data-pin-media=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/06\/Como-Mover-y-Renombrar-Archivos-en-la-Terminal-de-Linux.png\" title=\"\"><\/picture><\/figure>\n<p>En temel \u015feyle ba\u015flayal\u0131m: tek bir dosyay\u0131 yeniden adland\u0131rmak. Komut s\u00f6zdizimi basittir:<\/p>\n<pre class=\"line-numbers language-bash\"><code>mv &lt;nombre_original&gt; &lt;nuevo_nombre&gt;<\/code><\/pre>\n<p>1. <strong>\"Dosya olu\u015ftur\" ad\u0131nda bir dosya olu\u015ftur. <code>dosya1.txt<\/code>.<\/strong><\/p>\n<pre class=\"line-numbers language-bash\"><code>$ touch file1.txt<\/code><\/pre>\n<p>2. <strong>Yeniden isimlendirmek <code>dosya1.txt<\/code> A <code>yeni dosya1.txt<\/code>.<\/strong> Komut <code>mv<\/code> Hem ayn\u0131 dizindeki hem de farkl\u0131 konumlardaki dosyalarla \u00e7al\u0131\u015f\u0131r.<\/p>\n<pre class=\"line-numbers language-bash\"><code>$ mv file1.txt newfile1.txt<\/code><\/pre>\n<p>3. <strong>De\u011fi\u015fikli\u011fin do\u011frulu\u011funu teyit etmek i\u00e7in dizin i\u00e7eri\u011fini kontrol edin.<\/strong> G\u00f6rmelisiniz <code>yeni dosya1.txt<\/code> liste.<\/p>\n<pre class=\"line-numbers language-bash\"><code>$ ls<\/code><\/pre>\n<h2 id=\"mover-un-archivo\">Linux'ta dosya nas\u0131l ta\u015f\u0131n\u0131r?<\/h2>\n<figure class=\"van-image-figure inline-layout\" data-bordeaux-image-check=\"\"><picture><source type=\"image\/webp\" \/><\/picture> <picture><img decoding=\"async\" class=\"expandable\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/06\/1749731578_8_Como-Mover-y-Renombrar-Archivos-en-la-Terminal-de-Linux.png\" alt=\"Linux&#039;ta dosyalar\u0131 ta\u015f\u0131mak i\u00e7in kullan\u0131lan mv komutu.\" data-pin-media=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/06\/1749731578_8_Como-Mover-y-Renombrar-Archivos-en-la-Terminal-de-Linux.png\" title=\"\"><\/picture><\/figure>\n<p>Birincil kullan\u0131m <code>mv<\/code> Bu i\u015flem, dosyalar\u0131 ta\u015f\u0131may\u0131 i\u00e7erir ve yeniden adland\u0131rma i\u015flemindekiyle ayn\u0131 s\u00f6zdizimini korur: kaynak dosyay\u0131 ve hedef konumu belirtir.<\/p>\n<p>\u015eimdi bir dosyay\u0131 alt dizine nas\u0131l ta\u015f\u0131yaca\u011f\u0131m\u0131z\u0131 g\u00f6relim.<\/p>\n<ol>\n<li><strong>\"Adland\u0131r\" ad\u0131nda bir dizin olu\u015fturun. <code>Dosyalar\u0131Buraya Ta\u015f\u0131<\/code>.<\/strong><\/li>\n<\/ol>\n<pre class=\"line-numbers language-bash\"><code>$ mkdir Dosyalar\u0131Buraya Ta\u015f\u0131<\/code><\/pre>\n<ol start=\"2\">\n<li><strong>Bo\u015f bir dosya olu\u015fturmak i\u00e7in \u015funu kullan\u0131n: <code>dokunmak<\/code>.<\/strong> Bu komut, deneme ama\u00e7l\u0131 bo\u015f dosyalar olu\u015fturur.<\/li>\n<\/ol>\n<pre class=\"line-numbers language-bash\"><code>$ touch blankfile.txt<\/code><\/pre>\n<ol start=\"3\">\n<li><strong>Ta\u015f\u0131nmak <code>bo\u015fdosya.txt<\/code> dizine <code>Dosyalar\u0131Buraya Ta\u015f\u0131<\/code>.<\/strong><\/li>\n<\/ol>\n<pre class=\"line-numbers language-bash\"><code>$ mv blankfile.txt MoveFilesHere\/<\/code><\/pre>\n<p>Bu komut \u015fu varsay\u0131m\u0131 \u00f6ne s\u00fcr\u00fcyor: <code>Dosyalar\u0131Buraya Ta\u015f\u0131<\/code> ayn\u0131 seviyededir <code>bo\u015fdosya.txt<\/code>Dosyalar\u0131 farkl\u0131 seviyeler aras\u0131nda ta\u015f\u0131mak i\u00e7in tam yolu belirtin (\u00f6rne\u011fin, <code>\/home\/pi\/scripts<\/code>).<\/p>\n<p>Bir dosyay\u0131 \u00fcst dizine ta\u015f\u0131mak i\u00e7in \u015funu kullan\u0131n: <code>..\/<\/code> bir var\u0131\u015f noktas\u0131 olarak.<\/p>\n<p><strong>Dosyan\u0131n do\u011fru \u015fekilde ta\u015f\u0131nd\u0131\u011f\u0131n\u0131 a\u015fa\u011f\u0131daki komutu kullanarak do\u011frulay\u0131n:<\/strong><\/p>\n<pre class=\"line-numbers language-bash\"><code>$ ls MoveFilesHere\/<\/code><\/pre>\n<p>E\u011fer dosyay\u0131 ta\u015f\u0131may\u0131 ve yeniden adland\u0131rmay\u0131 ayn\u0131 anda yapmak istiyorsan\u0131z, hedef dosya yolundan sonra yeni ad\u0131 ekleyin:<\/p>\n<pre class=\"line-numbers language-bash\"><code>$ mv blankfile.txt MoveFilesHere\/namechanged.txt<\/code><\/pre>\n<h2 id=\"renombrar-masivo-de-archivos-en-linux\">Linux'ta birden fazla dosyan\u0131n ad\u0131n\u0131 nas\u0131l de\u011fi\u015ftirebilirim?<\/h2>\n<figure class=\"van-image-figure inline-layout\" data-bordeaux-image-check=\"\"><picture><source type=\"image\/webp\" \/><\/picture> <picture><img decoding=\"async\" class=\"expandable\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/06\/1749731579_466_Como-Mover-y-Renombrar-Archivos-en-la-Terminal-de-Linux.png\" alt=\"Bash beti\u011fi kullanarak Linux&#039;ta `mv` komutuyla dosyalar\u0131 toplu olarak yeniden adland\u0131rma\" data-pin-media=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/06\/1749731579_466_Como-Mover-y-Renombrar-Archivos-en-la-Terminal-de-Linux.png\" title=\"\"><\/picture><\/figure>\n<p>Bazen bir\u00e7ok dosyay\u0131 ayn\u0131 anda yeniden adland\u0131rmak gerekebilir. Bunu \u015fu komutla ger\u00e7ekle\u015ftirebiliriz: <code>mv<\/code> Her dosyay\u0131 tek tek inceleyip toplu olarak yeniden adland\u0131ran basit bir Bash beti\u011fi kullan\u0131l\u0131yor.<\/p>\n<p>1. <strong>Pratik yapmak i\u00e7in bir dizi dosya olu\u015fturun.<\/strong> Este comando generar\u00e1 26 archivos nombrados de la &#8216;a' a la &#8216;z' con extensi\u00f3n <code>.txt<\/code>.<\/p>\n<pre class=\"line-numbers language-bash\"><code>$ touch {a..z}.txt<\/code><\/pre>\n<p>2. <strong>T\u00fcm dosyalar\u0131 yeniden adland\u0131r\u0131n <code>.txt<\/code> A <code>.kay\u0131t<\/code>.<\/strong> Bir d\u00f6ng\u00fc kullan\u0131yoruz. <code>i\u00e7in<\/code> t\u00fcm dosyalar\u0131 tarayan <code>*.txt<\/code>Onlar\u0131 yeni uzant\u0131yla yeniden adland\u0131rmak.<\/p>\n<pre class=\"line-numbers language-bash\"><code>$ for f in *.txt; do mv -- \"$f\" \"${f%.txt}.log\"; done<\/code><\/pre>\n<h2 id=\"explorando-el-comando-mv-en-linux\">Linux'ta MV komutunun geli\u015fmi\u015f arg\u00fcmanlar\u0131n\u0131 incelemek<\/h2>\n<p>Komut <code>mv<\/code> Dosya ta\u015f\u0131ma ve yeniden adland\u0131rma i\u015flemlerinin daha iyi y\u00f6netilmesini sa\u011flayan \u00e7e\u015fitli kullan\u0131\u015fl\u0131 parametreler kabul eder. \u0130\u015fte her durum i\u00e7in baz\u0131 pratik \u00f6rnekler.<\/p>\n<figure class=\"van-image-figure inline-layout\" data-bordeaux-image-check=\"\"><picture><source type=\"image\/webp\" \/><\/picture> <picture><img decoding=\"async\" class=\"expandable\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/06\/1749731579_252_Como-Mover-y-Renombrar-Archivos-en-la-Terminal-de-Linux.png\" alt=\"Linux&#039;ta dosyalar\u0131 ta\u015f\u0131mak i\u00e7in kullan\u0131lan `mv` komutu i\u00e7in geli\u015fmi\u015f arg\u00fcmanlar.\" data-pin-media=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/06\/1749731579_252_Como-Mover-y-Renombrar-Archivos-en-la-Terminal-de-Linux.png\" title=\"\"><\/picture><\/figure>\n<h3>Etkile\u015fimli mod (-i)<\/h3>\n<p>Bu mod, dosyalar\u0131n \u00fczerine yazmadan \u00f6nce sizden onay ister; bu da kaz accidental veri kayb\u0131n\u0131 \u00f6nlemek i\u00e7in idealdir. \u00d6rne\u011fin:<\/p>\n<pre class=\"line-numbers language-bash\"><code>$ mv -i blankfile.txt MoveFilesHere<\/code><\/pre>\n<h3>\u00dczerine yazmay\u0131 zorla (-f)<\/h3>\n<p>Bu se\u00e7enekle, komut mevcut dosyalar\u0131n \u00fczerine yazar ve onay istemez. Dikkatli kullan\u0131n ve \u00e7al\u0131\u015ft\u0131rmadan \u00f6nce hedef yolu do\u011frulay\u0131n.<\/p>\n<pre class=\"line-numbers language-bash\"><code>$ mv -f blankfile.txt MoveFilesHere<\/code><\/pre>\n<h3>Mevcut dosyalar\u0131n \u00fczerine yazmay\u0131n (-n)<\/h3>\n<p>Dosyalar\u0131 ta\u015f\u0131mak ancak mevcut dosyalar\u0131n \u00fczerine yaz\u0131lmas\u0131n\u0131 \u00f6nlemek istiyorsan\u0131z, bu se\u00e7enek tam size g\u00f6re. Herhangi bir m\u00fcdahale olmadan yinelenen dosyalar\u0131 atlayacakt\u0131r.<\/p>\n<pre class=\"line-numbers language-bash\"><code>$ mv -n blankfile.txt MoveFilesHere<\/code><\/pre>\n<h3>Yaln\u0131zca g\u00fcncellenen dosyalar\u0131 ta\u015f\u0131 (-u)<\/h3>\n<p>Bu se\u00e7enek, yaln\u0131zca kaynak dosya hedef dosyadan daha yeni ise dosyalar\u0131 ta\u015f\u0131r. Art\u0131ml\u0131 yedeklemeler ve veri koruma i\u00e7in kullan\u0131\u015fl\u0131d\u0131r.<\/p>\n<pre class=\"line-numbers language-bash\"><code>$ mv -u blankfile.txt MoveFilesHere<\/code><\/pre>\n<figure class=\"van-image-figure inline-layout\" data-bordeaux-image-check=\"\"><picture><source type=\"image\/webp\" \/><\/picture> <picture><img decoding=\"async\" class=\"expandable\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/06\/1749731579_505_Como-Mover-y-Renombrar-Archivos-en-la-Terminal-de-Linux.png\" alt=\"mv komutunda ayr\u0131nt\u0131l\u0131 (verbose) arg\u00fcman\u0131 kullanarak dosyalar\u0131n ta\u015f\u0131nmas\u0131n\u0131 g\u00f6rselle\u015ftirin.\" data-pin-media=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/06\/1749731579_505_Como-Mover-y-Renombrar-Archivos-en-la-Terminal-de-Linux.png\" title=\"\"><\/picture><\/figure>\n<h3>Ayr\u0131nt\u0131l\u0131 mod veya verbose (-v)<\/h3>\n<p>Bu parametre, dosyalar ta\u015f\u0131n\u0131rken ekranda g\u00f6r\u00fcnt\u00fcler; bu \u00f6zellik, hatalar\u0131 ay\u0131klamak veya s\u00fcre\u00e7leri izlemek i\u00e7in idealdir:<\/p>\n<pre class=\"line-numbers language-bash\"><code>$ mv -v blankfile.txt MoveFilesHere<\/code><\/pre>\n<p>\ud83d\udca1 Linux'u pratik bir \u015fekilde \u00f6\u011frenmek mi istiyorsunuz? Temel komutlar hakk\u0131nda daha fazla e\u011fitime g\u00f6z at\u0131n, g\u00fcnl\u00fck g\u00f6revlerinizi otomatikle\u015ftirmeyi \u00f6\u011frenin ve ad\u0131m ad\u0131m k\u0131lavuzlar\u0131m\u0131z\u0131 takip ederek verimlili\u011finizi art\u0131r\u0131n \ud83d\udc27\u2699\ufe0f. Bu Linux k\u0131lavuzunu be\u011fendiniz mi? Bu makaleyi payla\u015f\u0131n, i\u00e7eri\u011fi kaydedin ve sorular\u0131n\u0131z\u0131 yorumlarda b\u0131rak\u0131n, b\u00f6ylece birlikte \u00f6\u011frenmeye devam edebiliriz! \ud83d\ude80\ud83d\udcac<\/p>","protected":false},"excerpt":{"rendered":"<p>Linux'ta dosyalar\u0131 g\u00fcvenli bir \u015fekilde ta\u015f\u0131mak ve yeniden adland\u0131rmak i\u00e7in, \u00f6zellikle sunucularda, SSH'de ve ger\u00e7ek d\u00fcnya i\u015f ak\u0131\u015flar\u0131nda, `mv` komutu h\u00e2l\u00e2 \u00e7ok \u00f6nemlidir.<\/p>","protected":false},"author":1,"featured_media":91334,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ai_generated_summary":"","iawp_total_views":60,"jnews-multi-image_gallery":[],"jnews_single_post":{"format":"standard","override":[{"template":"1","parallax":"1","fullscreen":"1","layout":"right-sidebar","sidebar":"default-sidebar","second_sidebar":"default-sidebar","sticky_sidebar":"1","share_position":"top","share_float_style":"share-monocrhome","show_share_counter":"1","show_view_counter":"1","show_featured":"1","show_post_meta":"1","show_post_author":"1","show_post_author_image":"1","show_post_date":"1","post_date_format":"default","post_date_format_custom":"Y\/m\/d","show_post_category":"1","show_post_reading_time":"1","post_reading_time_wpm":"300","post_calculate_word_method":"str_word_count","zoom_button_out_step":"2","zoom_button_in_step":"3","show_post_tag":"1","show_prev_next_post":"1","show_popup_post":"1","show_comment_section":"1","number_popup_post":"1","show_author_box":"1","show_post_related":"1","show_inline_post_related":"0"}],"image_override":[{"single_post_thumbnail_size":"crop-500","single_post_gallery_size":"crop-500"}],"trending_post_position":"meta","trending_post_label":"Trending","sponsored_post_label":"Sponsored by","disable_ad":"0","subtitle":""},"jnews_primary_category":[],"jnews_social_meta":[],"jnews_review":[],"enable_review":"","type":"percentage","name":"","summary":"","brand":"","sku":"","good":[],"bad":[],"score_override":"","override_value":"","rating":[],"price":[],"jnews_override_counter":{"view_counter_number":"0","share_counter_number":"0","like_counter_number":"0","dislike_counter_number":"0"},"footnotes":""},"categories":[1435],"tags":[1445,1821,1686],"class_list":["post-50977","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutoriales","tag-evergreencontent","tag-linux","tag-productividad"],"_links":{"self":[{"href":"https:\/\/mastertrend.info\/tr\/wp-json\/wp\/v2\/posts\/50977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mastertrend.info\/tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mastertrend.info\/tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/tr\/wp-json\/wp\/v2\/comments?post=50977"}],"version-history":[{"count":5,"href":"https:\/\/mastertrend.info\/tr\/wp-json\/wp\/v2\/posts\/50977\/revisions"}],"predecessor-version":[{"id":96168,"href":"https:\/\/mastertrend.info\/tr\/wp-json\/wp\/v2\/posts\/50977\/revisions\/96168"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/tr\/wp-json\/wp\/v2\/media\/91334"}],"wp:attachment":[{"href":"https:\/\/mastertrend.info\/tr\/wp-json\/wp\/v2\/media?parent=50977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mastertrend.info\/tr\/wp-json\/wp\/v2\/categories?post=50977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mastertrend.info\/tr\/wp-json\/wp\/v2\/tags?post=50977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}