A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Linux / UNIX
perserve exact copy while copying
Joined: Jan 13, 2008
Jul 28, 2008 00:25:00
How to copy in unix preserving the entire folder structure while copying.
I tripe as cp -rp 'source folder' . (present folder)
But I get something like below:
cp: preserving permissions for `./data/test.txt': Operation not supported
What is this?
Joined: May 14, 2007
Jul 31, 2008 04:26:00
You tipically get such an error if the destination file system does not support ownership permissions (for example, if it's samba)
SCJP<br />SCWCD 1.4 Upgrade (Remember: me stupid)<br />SCWCD 1.4<br /><a href="http://jcp.org/aboutJava/communityprocess/final/jsr220/index.html" target="_blank" rel="nofollow">SCBCD 5.0</a><br /><a href="http://www.enthuware.com" target="_blank" rel="nofollow">SCBCD 5.0 mock exam</a> <br /> <br />SCEA 5 Part1: Preparing...
I agree. Here's the link:
subject: perserve exact copy while copying
copy paste image
Excluding class files in a Jar while copying from one folder to another.
Need to Copy Hidden Folder
Ubuntu 11.10, Oneiric Ocelot, is out
JVM could not be loaded on windows 7
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015