Trying to copy a directory structure without all of the files.

Hi,
Is there a way to copy a directory structure with a number of subdirectories without all of the directory files coming along with it. I thought the cpio command would do that but I can't figure out how to use it.

CPIO needs a list of files, normally you generate them with 'find', so that would work.
There's an old thread about this on comp.unix.solaris. Personally, I like my 'rsync' solution. :-) But reading the entire thread may be a good idea.
http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/e84b458b3ce4b3b8/
Darren

Similar Messages

  • How can I get a file to copy all of the files in a directory except itself and the source of the copy function will be the directory the final program is in?

    How can I get a file to copy all of the files in a directory except itself and the source of the copy function will be the directory the final program is in? This application must be in Lab View 8.

    you mean something like this (see below)?
    Now you may have to implement code to check if the destination folder exists and to create it, etc.  But if you use the Front Panel Control to select the destination folder, it should be okay.
    Not the best implementation, mind you but you'll get the idea..
    Message Edited by JoeLabView on 04-18-2007 03:43 PM
    Attachments:
    copy folder contents.PNG ‏10 KB

  • I cannot get my iTunes library from my old computer to my new one. The old computer is so messed up that I cannot even get google to open. I tried to copy to an external hard drive and the music was there until I went to upload to the new computer.

    I cannot get my iTunes library/music from my old computer to my new one. The old computer is so messed up that I cannot even open a browser.I tried to copy to an external hard drive and the music was there until I went to upload to the new computer. I disconnected my old computer so I will have to reconnect it I am sure. thank you for any help. Last time I transferred I used a product I purchased. That was a long time ago.

    First of all make sure that you've definitely backed up the movies to your external hard disc.
    In iMovie click on any event you don't want, go to the file menu and select 'move event to trash'. Then do the same for any unwanted projects - 'move project to trash'. Quit out of iMovie and empty the trash.
    Hope that helps!

  • Was trying to update to latest version; i uninstall to download new version because it wasn't letting me update. Now it wouldn't open at all because "The file"iTunes.Library.itl"cannot be read because it was created by a newer version of iTunes".:( ?

    I Was trying to update to the latest version; i uninstall to download new version because it wasn't letting me update. Now it wouldn't open at all because "The file"iTunes.Library.itl"cannot be read because it was created by a newer version of iTunes".:(  How do i go back to last install or make this new version works?

    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • Hi everybody, I am trying to create a DVD pal without menu with the program iDVD from a .mov file. Any ideas? Thanks so much.

    Hi everybody, I am trying to create a DVD pal without menu with the program iDVD from a .mov file. Any ideas? Thanks so much.

    (From fellow poster Mishmumken: )
    How to create a DVD in iDVD without menu (there are several options):
    1. Easy: Drop your iMovie in the autoplay box in iDVD's Map View, then set your autoplay item (your movie) to loop continously. Disadvantage: The DVD plays until you hit stop on the remote
    2. Still easy: If you don't want your (autoplay) movie to loop, you can create a black theme by replacing the background of a static theme with a black background and no content in the dropzone (text needs to be black as well). Disadvantage: The menu is still there and will play after the movie. You don't see it, but your disc keeps spinning in the player.
    3. Still quite easy but takes more time: Export the iMovie to DV tape, and then re-import using One-Step DVD.
    Disadvantage: One-Step DVD creation has been known to be not 100% reliable.
    4. (My preferred method) Easy enough but needs 3rd party software: Roxio Toast lets you burn your iMovie to DVD without menu - just drag the iMovie project to the Toast Window and click burn. Disadvantage: you'll need to spend some extra $$ for the software. In Toast, you just drop the iMovie project on the Window and click Burn.
    5. The "hard way": Postproduction with myDVDedit (freeware)
    Tools necessary: myDVDedit ( http://www.mydvdedit.com )
    • create a disc image of your iDVD project, then double-click to mount it.
    • Extract the VIDEO_TS and AUDIO_TS folders to a location of your choice. select the VIDEO_TS folder and hit Cmd + I to open the Inspector window
    • Set permissions to "read & write" and include all enclosed items; Ignore the warning.
    • Open the VIDEO_TS folder with myDVDedit. You'll find all items enclosed in your DVD in the left hand panel.
    • Select the menu (usually named VTS Menu) and delete it
    • Choose from the menu File > Test with DVD Player to see if your DVD behaves as planned.If it works save and close myDVDedit.
    • Before burning the folders to Video DVD, set permissions back to "read only", then create a disc image burnable with Disc Utility from a VIDEO_TS folder using Laine D. Lee's DVD Imager:
    http://lonestar.utsa.edu/llee/applescript/dvdimager.html
    Our resident expert, Old Toad, also recommends this: there is a 3rd export/share option that give better results.  That's to use the Share ➙ Media Browser menu option.  Then in iDVD go to the Media Browser and drag the movie into iDVD where you want it.
    Hope this helps!

  • I just installed a second, larger hard drive. Can I copy all of the files?

    I have a G5 Tower with an 80GB Seagate hard drive. I just installed a 160GB Seagate in the second bay. It seems to be connected. I partitioned it. Can I now simply copy everything that was on the old hard drive onto the new one? Do I then tell the computer to boot from the new larger hard drive, and it will boot and operate automatically from the new hard drive, as if I was still using the old hard drive? Will everything work simply by copying (dragging) all of the files from the old drive to the new one?

    Hi James_ Nindel;
    I answered your other post.
    Double posting the same problem is a good way to confuse everyone.
    Allan

  • HT1473 Sometimes when I copy a CD into iTunes all of the songs do not show y up in one album, but mutiple albums, all with the same name. Is there an easy way to get all of the songs into one album.

    Sometimes when I copy a CD into iTunes all of the songs do not show y up in one album, but mutiple albums, all with the same name. Is there an easy way to get all of the songs into one album.

    Generally adding a common album artist will fix things.
    tt2

  • TS4036 I deleted Pages from icloud on my iphone.  the next time i was on my ipad it flashed and all of the files disappeared.  did i deleted them from icould without realizing it?  are they gone forever or is there a way to restore them?

    I deleted Pages from icloud on my iphone.  the next time i was on my ipad it flashed and all of the files disappeared.  did i deleted them from icould without realizing it?  are they gone forever or is there a way to restore them?

    Welcome to the Apple Community.
    If you mean you deleted the files from Pages on your phone whilst using iCloud, then yes they will disappear from Pages on your iPad too.
    If you simply deleted the app from your phone, if you were using iCloud then they should not have disappeared from your iPad.
    It's not clear from your post, which of these you did.

  • I have a problem - the program QuickTime player longer open files - gororit that codec for the opening of the program at all of the files that I opened have the extension avi. tried to remove a program, it is impossible.I tried to load the program fr

    I have a problem - the program QuickTime player longer open files - gororit that codec for the opening of the program at all of the files that I opened have the extension avi. tried to remove a program, it is impossible.I tried to load the program from Apple, reinstalled. but I was wrong still going on! what to do?

    before using for all entries in, u need to check whether the driver internal table is empty, if it is empty, u should not enter into select statement.
    if u wont use this check means, when the driver internal table is empty, the second select will take all the entires from the tables.
    SELECT  AEBELN ALIFNR AKNUMV BVGABE BEBELP BGJAHR B~BELNR
            FROM  EKKO AS A
            INNER JOIN EKBE  AS B ON  BEBELN = AEBELN
            INTO  CORRESPONDING
            FIELDS OF TABLE ITAB WHERE B~VGABE = '2'.
    if itab[] is not initial.
       SELECT EKPOEBELN EKPOMATNR EKPOTXZ01 EKPOWERKS EKPO~NETWR
              EKPOMENGE EKPOMWSKZ
          FROM EKPO
          INTO CORRESPONDING FIELDS OF TABLE ITAB1
          FOR ALL ENTRIES IN ITAB
          WHERE EBELN = ITAB-EBELN.
    endif.
    I hope this will help u.
    else,
    Sujatha.

  • My iPad Air when charging cuts in and out, also the charger is extremely hot. Have tried different chargers with and power outlets, all with the same outcome.

    My iPad Air when charging cuts in and out, also the charger is extremely hot. Have tried different chargers with and power outlets, all with the same outcome.

    The troubling thing to me is the fact that the charger gets extremely hot - according to what you are saying. The charger can get warm and can get fairly warm when the iPad is charging, but it should never get extremely hot. Make an appointment at an Apple Store, take the iPad, the cable and the charger with you and ask them to look at everything for you.

  • Error message: Could not save copy as "C:..." because the file is already in use or left open by another application

    I always get the Errormessage: Could not save copy as "C:..." bacause the file is already in use or left open by another alpplication
    while trying to save a file as a jpg. even when the file is not left open or in use.. .

    Without knowing exact technical details, nobody can say anything. From genuine issues with your storage devices like block errors or fragmentation to specific security stuff causing delays and blockages in writing files anything is imaginable. Your info is simply insufficient to make even a superficial diagnosis beyond those generics.
    Mylenium

  • Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files?

    Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files? I just want to view / delete files without importing them.
    For instance I have 1200 photos on my iPhone Camera Roll. Some of these are shots, that I've taken multiple times, some good, some bad. I just want to clean up my Camera Roll, but going through the pictures on the iPhone's small screen is tedious. I'd much rather look at the camera roll's photo's on my Mac, and then decide which files I'd like to keep, and which to delete.
    I don't want to import the files, as when I import the files, and delete them from Camera Roll, now the Photo's are not on my phone, and the only way to get them back on my Phone is to Import them back in using iTunes, and then they go into the Picture Library and not the Camera Roll.
    In the same way as I can view Pics from my digital camera's SD card on a Mac without having to actually copy them to my computer, is there any app out there that will let me view my iPhone pics without importing them.

    gsharp01 wrote:
    Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files? I just want to view / delete files without importing them.
    The short answer is yes.
    Connect your iPhone to your computer.
    Open Image Capture application.
    Click on the 4 little squares at bottom to view them as photos, not a list.
    Select the photos them click the No Entry icon at bottom to delete.

  • Migration Assistant - All of the files were not transferred

    I transferred all the user files, settings and applications using migration assistant. I went from an intel iMac to a newer intel iMac. Snow Leopard to Lion. I checked everything in the migration assistant except for the iPhoto library of one of the users because it was too big for the main hard drive of the new computer. I copied it manually to the secondary hard drive.
    At the end of the migration a window said that not all of the files were transferred and I should check to make sure I have everything I need. (I'm not sure the exact wording). Below that it said that a static IP was transferred and I should not have both the old computer and the new one on the network with the same IP.
    Do you think it's just referring to the iPhoto library when it says all files were not transferred? Or could there be something else. Is there a log that I can look at that will tell me what might not have transferred?
    As far at the IP thing, I changed the static IP on the new computer so that's fine.

    Hard to say. I suggest that you peruse Pondini's Setup New Mac guide and determine if you did things the right way.

  • Possible to overwrite a pdf when in use or open a pdf without holding/locking the file for update

    Possible to overwrite a pdf when in use OR alternative open a pdf without holding/locking the file
    We frequently generate pdf files from our 3D program and would like to know if it's possible to either open a pdf file in a way that it doesn't get locked or hold up so the pdf can be updated even when opened or in use.
    Most programs e.g. ultra edit & notepad will let go the file when you opened and hence the file can be updated or over written even when in use.
    If any guru can help, would be highly appreciated

    Hi Abbas,
    It's not possible to overwrite a pdf when it is already in use by a different program or user. The file then opens up in Read Only mode.
    You can make a copy of the file and then apply those changes later in the original file. That's the only possible solution.
    Regards,
    Rahul

  • My Windows part of the drive got all of the files deleted and got renamed

    My Windows part of the drive got all of the files deleted and got renamed to Time Machine Backups. This all happened when i woke up and i tried to do to the windows part of the drive and it was not there. So I went to the mac part and i saw it was renamed to Time Machine Backups. So then I clicked to see if any thing was in the part. Nothing. I tried to go to boot camp assistant it said -The startup disk cannot be partitioned or restored to a single partition. The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows.-So Then I went to disk utility to erase it but it did nothing. PLEASE HELP ME

    1. Time machine probably has the disk locked. Go into time machine preferences and turn it off.
    2. open DU (disk utility), see if you can dismount the boot camp partition. If not, log out, log back in and try again with DU. Once it will mount and dismount go to step 3.
    3. In DU select the boot camp volume, select erase, select msdos file system (format), select name for partition, select erase.
    4. Close DU, Open preferences > system > startup disk.
    5. Highlight the msdos partition, close preferences (this blesses the msdos partition and sets it to boot).
    6. Place your windows cd/dvd in the tray, close tray and reboot.
    7. Install windows.
    8. After complete installation, select run, type in "cmd" (in windows).
    9. A windows terminal will open, at the prompt type:
    convert c: /fs:ntfs
    press enter, it will ask if you want to schedule the conversion at the next startup?.
    10. Select yes. Time machine will leave a ntfs drive alone, simply because it cannot write to it.
    11. Reboot windows and let it convert the file system. That's it.
    Kj

Maybe you are looking for

  • D2KWUTIL and Forms 9i/ 10g.  Does it work?

    Hi, I am trying to using d2kwutil in forms9i. functionality i want is to open a pdf document in new browser window and search for a particular string in the document. and thats the end of the story. 1. can i using d2kwutil.pll/dll for this requiremen

  • Just have to say... I'm a tad excited

    Well, I ordered my MacBook Pro Core 2 Duo last night. 2.33GHz Intel Core 2 Duo 3GB 667 DDR2 SDRAM-1x2GB,1x1GB 160GB Serial ATA Drive@5400rpm SuperDrive 8X 17" Widescreen Display No Modem iWork '06 Preinstalled BkLit Keyboard/Mac OS Country Kit I've b

  • Where can I get Install software for a MacBook Pro 2007

    Where can I get Install software for a MacBook Pro 2007

  • Macbook pro 15" i7 2.2 early 2011 battery health

    Dear All My two months old Mackbook pro 15" i7 2.2 early 2011 start showing battery health 96% instead of 100% earlier at 17 cycle with full charged, The battery run for approx. 5 hours for a mid process with WIFI ON, and mid screen brightness . Yest

  • Contacts is empty, and Time Capsule backup says "cannot open"

    Yikes. This morning, I open my Contacts application and the contacts are gone...the entire app is void of any information. No worry, I have Time Capsule. However, when I go to Time Capsule I am told I cannot open the Contacts app. Is there a way to f