Copy a dir & all children subdirs EXCEPT for one dir (and all its subdirs)

Is there a tool for SOLARIS 10 that will allow you to copy /u01 and all its children folders but exclude a specific child dir and its children?
For example, I would like to copy the entire directory structure under /u01 EXCEPT for /u01/text and all its subdirectories. This would EXCLUDE /u01/text, /u01/text/output, /u01/text/output/archive, but COPY /u01/fonts/ and /u01/doc and /u01/doc/pdfs/.
I checked the man for rcp and scp and found no such option.
Thanks.
Edited by: dubitancy on Dec 3, 2008 10:37 AM -- Meant to put SOLARIS 10 not 9.

except rsync isnt installed by default so you would need to grab it from sunfreeware or blastwave.
gnu tar (/usr/sfw/bin/gtar) can also exclude files.
So you can copy by taring and untaring.

Similar Messages

  • It works perfectly fine in all wifi networks except for one

    Hi everybody!
    I have a black macbook from 2007. It works perfectly fine in all wifi networks except for one. It´s a new network, a much faster one they say, that has been installed where I work. It works perfectly fine in my home wifi network and in every other that I have tried to date. It´s just this one.
    Might it be that this new, faster wifi freezes the laptop? any experts that can shed some light?

    Do you have a case on it?
    If so, take it off.
    If not, probably an issue with the camera itself so get the iPad replaced.

  • I lost my wifi connections to all my PCs except for one

    I lost my wifi connections to all my PCs except for one. I cannot get a working IP address  for the others 2 pcs. anyone else have this problem? If so how did you fix it?

    Are all of the PCs connected by wireless? If so, what is the make & model of the wireless router that they are trying to connect to?

  • I can use iMessage with all iPhone uses except for ONE person.  That person can use iMessage with all other users, but not with ME.  What's the problem???

    I can use iMessage with all other iPhone users that I communicate with, except for ONE person.  When I send to that person, it always goes through as a text message.  This person can use iMessage with pther people, but when they send me a message, it always goes as a text.  Why can we both communicate with other people using iMessage, but not with one another?

    Hi Russell,
    1) If you have OD set up and "editor" has UID 1111, then when they log in to any machine that's bound to OD as editor, they will get UID 1111. Therefore, there won't be any of these permission errors. This is typically the recommended approach.
    2) I assume you mean "You'd prefer to not using open directory?" Whatever the case, OD isn't mandatory with Xsan -- it's just that with multiple user accounts, managing them centrally tends to be easier. For 3 or 4 accounts and 3 or 4 machines maybe it's no big deal. If you go larger, it could get a lot more complicated. That said, if you set it up such that each machine has the exact same set of users (as you said, Mary = UID 502, Fred = UID 503, William = UID 504), then you can do what you want. Mary can log in from multiple machines at the same time, and in general you won't have permissions problems. Of course, if you try and read and write the same file from multiple workstations at the same time, you will get file locking issues, which will prohibit somebody from successfully writing the file.
    File locking issues are different from general permissions errors. The former basically says "hey, someone else is editing this file. Therefore I won't let you edit it right now... you can read it if you want though." Permissions means somebody saves it, and Xsan thinks you saved it and own the file, when you really don't.
    Quad-Core PMG5, 4 GB RAM, 7800 GT, 1 TB disk.   Mac OS X (10.4.4)  

  • When I Buy Something,all songs disapear except for ones bought in the store

    I Used to have two-hundred songs on my Video iPod, including ones from CD's. When I bought a new song all of my songs, except for ones that I have bought on itunes, disappeared. Now I Have 10 Songs...Is there ne way to know whats wrong...and to fix it?
    I also bought an audiobook. The Money was taken from my account and the book was never downlaoded. Is there any way to retrieve that?
    When i got a new iPod...a nano. i accidently didnt choose the option to have more than one iPod sync to this computer. So now both of my iPods are messed up.
    Last problem, I have about 10 tv shows, and only two of them sync to my ipod.

    How long since the purchase? It can take a while for the card to be debited.

  • TS1389 my computer is autorized and I can play all my songs except for one that tell me I need to autorize my computer?

    Ive tried all the trouble shooting options the site has told me to do, gone into user controls ect. But this one song it wont let me play. Please help
    (If it makes any diff the song is Mackin by Honey Claws)

    Click here and request assistance.
    (69008)

  • I have not accessed my iBooks for a month. When I opened the application a while ago I found that all my books except for 2books have disappeared. What happened and how can I retrieve my books?

    I have not accessed my iBook library for a month. When I opened the application awhile ago I found that all my books except for 2 books have disappeared. What happened and how can I retrieve my books.
    Charles

    One possible reason is have you synced to your computer's iTunes recently ? If so then it might have replaced the books that were on your iPad with those that are on your computer's iTunes library.
    You should be able to re-download them via the Purchased tab in the ibookstore in the iBooks app, or via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes and then sync them back to the iPad : re-downloading. If you re-download them directly on your iPad then you may want to copy them to your computer's iTunes via File > Transfer Purchases, so that you have a backup copy of them and to see if it stops them disappearing from the iPad again when you sync (assuming that was the reason why they disappeard).

  • HT1386 My MacBook Pro HD crashed.  It is all up and runmning except for one issue.  I have about 200 songs on my iPhone but have only gotton 53 back on my laptop and those are the songs I purchased via iTunes. How do I get the rest of the songs from iPhon

    My MacBook Pro HD crashed.  It is all up and runmning except for one issue.  I have about 200 songs on my iPhone but have only gotton 53 back on my laptop from my iPhone and those are the songs I purchased via iTunes. How do I get the rest of the songs from my  iPhone back onto my HD. 
    The songs I'm not able to import casme from CD's.  Nothing from napster etc.
    I've tried and tried to import them rom iTunes vis "Library"  " Import"

    Hey kbert73
    I would do a transfer of purchases from the phone and not sync. If you sync then it will want to start over and sync music that is on the MacBook Pro. If you want to transfer the music, check out the article below that will give you multiple options on how to move. I have also provided on how to sync with multiple computers.
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/ht4527
    Using iPhone, iPad, or iPod with multiple computers
    http://support.apple.com/kb/ht1202
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Recently, U2 music appeared on my ipod without my requesting it or wanting it. I was able to delete all of the songs except for one. How do I delete the last one from my ipod? The song does not show up in iTunes when I plug my ipod into the computer.

    Recently, U2 music appeared on my ipod without my requesting it or wanting it. I was able to delete all of the songs except for one. How do I delete the last one from my ipod? The song does not show up in iTunes when I plug my ipod into the computer. The version installed on my ipod is 7.1.2(11D257).

    Hi donfrommars,
    Welcome to the Apple Support Communities!
    Please use the following article for information and instruction on deleting the U2 album from your devices and account.
    Remove iTunes gift album "Songs of Innocence" from your iTunes music library and purchases
    Have a great day,
    Joe

  • ITunes has deleted all my music except for the genre I was listening to yesterday.  It has also deleted my purchased movies and all my podcasts and playlists.  Grrr

    iTunes has deleted all my music except for the genre I was listening to yesterday.  It has also deleted my purchased movies and all my podcasts and playlists.  Grrr.  Is there a way to find it all again???

    Hey there MotherMarthaMayhem,
    Welcome to Apple Support Communities.
    This article provides information and troubleshooting tips that may help you find the media that recently went missing from iTunes on your MacBook Pro.
    iTunes: Finding lost media and downloads - Apple Support
    Cheers,
    -Jason

  • Hi. I am running Windows 8.1 on a  64 bit Toshiba Satellite P70-A laptop with 16Gb of RAM. I have installed Adobe Creative Suite 6 - Master Collection. All is fine except for Adobe Acrobat X. It runs OK  for a while, but then suddenly it won't work. I uni

    Hi. I am running Windows 8.1 on a  64 bit Toshiba Satellite P70-A laptop with 16Gb of RAM. I have installed Adobe Creative Suite 6 - Master Collection. All is fine except for Adobe Acrobat X. It runs OK  for a while, but then suddenly it won't work. I uninstall it, re-boot and re-install again, bit the same process repeats itself and once again I have to uninstall and re-install again. I don't know if windows update interferes with it? Has anyone else had a similar problem? Is it fixable?

    I think you'd be much better off asking in the Acrobar forum, Acrobat

  • I have adobe photoshop CS6 and I am trying to use the analysis tools but all of them except for the ruler tool are unavailable. Am I missing certain plug ins?

    I have adobe photoshop CS6 and I am trying to use the analysis tools but all of them except for the ruler tool are unavailable. Am I missing certain plug ins?

    Which operating system?
    If I recall, some features were not fully supported on XP.
    Nancy O.

  • All music and other things on itouch GONE except for one series of podcasts

    I need help!
    My computer is low on memory, but I didn't think that would mess up me connecting my iPod touch to my computer. After connecting it, I did not look at my library, but later when I went to listen to something ALL my music, playlists, proof of purchases, were gone, except for one series of podcasts. I decided to connect my iPod to the computer again to see if I could igure out what was going on, and I got a thing that said I was using the iPod on a different account! confused it asked me if I wanted to get my purchased music switched over, so my sister suggested doing that, and so they are back on Itunes, but my computer is having problems because of low memory, so I haven't been able to get it to sync. (I have not tried a lot yet)
    can anyone help me? All my apps are there. It's just the music.

    When it asked if I wanted to transfer or erase or sync, I chose to transfer purchases, and ALL my music, including not purchased (CD's I had put on there) came back. ALL my music is back! Problem solved!

  • All my email except for today's has disappeared.How do I get it back?

    All my email, except for today's has disappeared. How do I get it back?

    Do any fonts work or show up at all in any application?
    Have you installed any new Fonts or Adobe/MS Apps?
    See if you can run Font Book in Applications, verify Fonts & check for duplicates.

  • I have an IPhone 4S and am using the Phonak Icom with my hearing aids. All works well except for when I get an incoming call I can't hear the ringing/ringtone in my aids.  Any solution?

    I have an IPhone 4S and am using the Phonak Icom with my hearing aids. All works well except for when I get an incoming call I can't hear the ringing/ringtone in my aids.  Any solution?

    Did you get any answers?

Maybe you are looking for

  • Mac Mini OSX 10.6.5 config w/ cable/modem-AEBS-mac mini server

    I'm new to OSX server, and have recently had to change locations of a OSX 10.6.5 Mac Mini. I am setting it up now as a home server and need to access from outside the home. I have had a wonderfully operating AEBS for many years, but once I started tr

  • Lost Photos in Photoshop Album Starter Edition 3.2

    My email stated that my photos were transfered to Revel. Only one photo switched. The rest are stuck at Adobe Photoshop Album starter edition 3.2. I can see my photos are sitting there but are stuck behind the product registeration looking for a prod

  • How do I get my internet working?

    Hey all. Here's my issue. As shown below, I have a house, and a guest house. The main house has internet that works just fine, however, it doesn't reach all the way to the guest house. We have the two airport utilities shown below, and are fine with

  • Connection refused Abobe interactive form

    Hi all, I recieve the following error when I try to run my adobe for over web services.... I cannot understand why since all wsdl files etc are available.. Any ideas? Cheers, Max com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocume

  • N9: MfE Hotmail: Mail Storage Full Free some space...

    Hi Friends, Does anyone having the error " Mail Storage Full free up some space first"...? I have this issue with N9. I just deleted the account and added it again and Hotmail working under mmailsettings.. but no contacts. I have so many issues with