How to Move and Copy items in the system/Mac using Terminal?

Moving file/folder -> MV command can be used to move files or folders from one location to another or move to a new location.

Moving the file into a different folder. -> mv /work/product.txt /docuemtn/Work/product.txt

change the file name and move to a different location -> mv ~/Downloads/MyFile.txt ~/Documents/Work/NewFileName.txt

How to copy files and directories >

Copy the file from the Desktop folder and paste it into the document folder

cp ~/Desktop/product.txt ~/Documents

Copy all files and folders into the target folder (-R mean all item in the folder)

cp -R ~/Desktop/test1 /Documents

How to copy or move multiple files

cp ~/Desktop/*.txt ~/Documents

10 thoughts on “How to Move and Copy items in the system/Mac using Terminal?”

  1. [6094]ck66 Official Login | সেরা অনলাইন ক্যাসিনো এবং দ্রুত টাকা উত্তোলন,ck66 অ্যাপ ডাউনলোড করে সেরা অনলাইন ক্যাসিনো গেম উপভোগ করুন। এখানে পাবেন স্লট খেলার সহজ নিয়ম এবং দ্রুত টাকা উত্তোলনের সুবিধা। আজই যোগ দিন। visit: ck66

  2. [766]viptaka Official Login – অ্যাপ ডাউনলোড ও সেরা স্লট গেম,viptaka-তে আজই যোগ দিন। বিকাশ দিয়ে সহজ ডিপোজিট এবং আকর্ষণীয় অনলাইন ক্যাসিনো বোনাস উপভোগ করুন। সেরা স্লট গেম খেলতে এখনই অ্যাপটি ডাউনলোড করুন। visit: viptaka

  3. [2076]Habibi88 | Login Resmi Link Alternatif Situs Slot Gacor Hari Ini,Habibi88 menyediakan link alternatif terbaru untuk akses mudah. Nikmati daftar judi online deposit pulsa dan panduan cara main casino online. Gabung sekarang juga! visit: habibi88

  4. I’ve been trying a few different sites lately and this one really stands out for its speed. Everything loads perfectly and the interface is super intuitive. Highly recommend kk123c for anyone looking for a reliable experience.

Leave a Comment

Your email address will not be published. Required fields are marked *