[tanya] Copy file Error

Aplikasi-aplikasi diubuntu: • Aplikasi Grafis •
Aplikasi Internet •
Aplikasi Office •
Aplikasi Sound & Video •
Aplikasi Programming
Post Reply
User avatar
Syerifan
Posts: 25
Joined: 21 Mar 2011, 14:50
Location: Tangerang
Contact:

[tanya] Copy file Error

Post by Syerifan » 14 Apr 2011, 08:46

Salam hangat buat juragan - juragan linux, kenapa pada saat saya mengcopy file ada pesan eror seperti ini

cp: omitting directory `Nama_file'

Penyebab kesalahanya dari mana?

Thanks atas bantuanya


User avatar
saa7_go
Posts: 464
Joined: 21 Jan 2011, 23:37
Contact:

Post by saa7_go » 14 Apr 2011, 08:57

mungkin, kalo di dalam folder yg kamu copy ada isinya, maka akan keluar error seperti itu kalo cuma menggunakan 'cp' tanpa argumen '-r' (rekursive).
harusnya:

Code: Select all

cp -r folder1 salinan_folder1
Last edited by saa7_go on 27 Feb 2016, 16:48, edited 1 time in total.
Reason: mengganti 'warning' menjadi 'error'


User avatar
rizkiii
Posts: 39
Joined: 06 Jan 2011, 16:10

Post by rizkiii » 14 Apr 2011, 09:52

entar di depan nya gak pakai sudo mas


User avatar
Syerifan
Posts: 25
Joined: 21 Mar 2011, 14:50
Location: Tangerang
Contact:

Post by Syerifan » 14 Apr 2011, 10:58

oh ya berhasil thanks' sob atas informasinya


Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests