How do I copy/move files?

What class do I use to copy/move files? I looked in java.io.file but I didn't see anything appropriate.

Thanks for the point about NT and AIX. The exact reason I'm looking at this is to develop a stored procedure in an Oracle DB which will assist with backup operations on both NT and AIX. Thus whatever I do needs to work both places. We already have OS specific scripts that I'd like to get rid of . . .

Similar Messages

  • I don't have Itunes on my Linux box, How can I Copy Movie Files using SSH?

    Can anyone point me to the directory where Movie files are stored..Since I don't have itunes on my machine, I can even search for movie files to see where these movie files may be..
    Any help would be appreciated..

    All purchases are considered final, but you can try contacting iTunes support and see if they will give you a refund or credit : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • I made an iPhoto book and the file is on my husband's macbook pro.  How do I copy that file so I can have it on my iMac?

    I recently made an iphoto book on my husbands macbook pro and want to move the file to my imac.  How do I copy the file and place it on my imac?  Thank you in advance.

    You can not. You can only move the entire library. Books do not exist seperate from the database. You can duplicate the library and delete very thing except the book to make it smaller
    LN

  • Error message when copying .mov files

    Hello,
    I'm trying to copy .mov files to back up from my desktop and from an external hardrive (250gb) to a new external hardrive (350gb) but each time I am getting the an error message saying the operation can not be completed due to unexpected error (error code 0). The files i am trying to copy are between 7gb and 20gb. Does anyone what what the error message means or how I can get around it please?!
    Thanks!

    If you want to use large files you have to reformat it. It will erase any data that is on the drive, If the drive will be used only with OSX, format it as Mac Extended (HFS+) Journaled with the GUID partition table.
    Start Disk Utility (Utilities Folder). Select the drive in the left column (be sure to select the drive, all the way at the left, not the volume indented below it). Select the "Partition" tab. Set "Volume Scheme" to "1 Partition". Click the "Options" button. Select "GUID Partition Table". Click the "OK" button. Enter the volume name and click the "Apply" button.

  • How can I convert .mov files for use with other apps?

    When loading movies taken on a friend's digital camera to my PC, the video files were saved as Quicktime .mov files. I am now unable to pull those files into any other software program (I want to put them onto a CD or DVD and play on external players.) How can I convert .mov files to a .wmv or .avi or mpeg?
    Thanks - J
    RS720G   Windows XP  

    Kodak Digital Camera QuickTime MOV Problems
    After battling a number of serious problems with the videos taken by my new Kodak Digital Camera, I decided to write up this page so that anyone searching the web would find out the true answers without as much grief!
    I’ve also made some other comments about my experience with the camera, in case anyone was considering buying a Kodak camera in the near future.
    I bought the camera just before Christmas 2004 in the US. At the time of writing, it is a pretty good model for domestic use—about 5.2 megapixels, costing about US$400 (or AU$600 back here in Australia). From a company as reputable as Kodak, I expected no problems.
    The first disappointing thing was that the spring inside the spring-loaded battery clip, inside the camera, came loose within days. It proved impossible to reattach it without completely dismantling the camera, which (despite my engineering qualifications) I was not willing to do. This would usually have been a warranty item, but Kodak’s warranty does not extend to other countries. I’ve since had to jam cardboard in to keep the battery clip engaged, and have taped the battery bay shut to avoid it opening accidentally when taking the camera out of the case. This works fine with the docking station (an extra AU$100!), but it means I can no longer charge the battery without the docking station (since you need to take it out to charge it). I was not impressed!
    The camera takes good photos, and I have no complaint with that. The controls and camera menus are well-designed. The large display is excellent.
    The EasyShare software is not as easy to use as it looks, has a habit of crashing, has a web update program that is always running in the background of Windows, and transferring images is nowhere as easy or quick as it should be. I’ve now uninstalled it completely, and simply copy the photos directly from the device. (If the camera memory is nearly full, and you just want to transfer the last few photos, then it’s impossible to use the EasyShare software to browse the camera’s photos without it actually downloading the whole lot through the USB cable—and it takes forever! Copying from the device directly doesn’t hit this bug.)
    The capability to take video using the camera was a great attraction when I selected it, and, if it worked properly, it would make it quite a handy little camcorder in its own right. With a 512 MB memory card in it, over an hour of video can be recorded at Video-CD quality (320 x 240 24fps video, 8 kHz audio). It’s not full digital video, but it would still be a pretty good feature for a US$400 camera. If it worked.
    The first disappointing thing about taking videos is that the optical zoom cannot be adjusted while the camera is recording. It can only be adjusted between video sequences. I don’t know why this restriction was made in the design.
    The real problems, however, start when you try to do anything with the video clips captured by the camera. Kodak has chosen to capture the videos in QuickTime format. This is fine—QuickTime is, technically, excellent—except that there is no simple way to convert QuickTime MOV files to AVI or MPEG or VCD. The Kodak software comes with a QuickTime player, so you can see the video clips on the computer you installed the software on—and they look good. Problem is that you can’t just dump those MOV files onto your Video-CD creator (it will usually want AVI or MPEG files).
    It takes some time to realise that Kodak have not even bothered to include any software with the camera that can convert these MOV files to a more useful format. This is a serious PR blunder, and anyone bitten by this is unlikely to go near the Kodak brand ever again.
    After some web searching, owners of these cameras generally find that the best (only?) freeware solution to convert MOV to AVI is Bink and Smacker’s RADtools program.
    RADtools is amazingly powerful for the price (i.e. free), but it hits two fundamental problems with Kodak Digital Camera MOV video files, that are the fault of the Kodak camera, not RADtools. (I know this because every other MOV converter hits the same problems—except one, as you will see below.)
    The first problem is that the sound cannot be converted properly. When you convert any Kodak MOV files, there is an “aliasing” of the sound at the upper frequencies. This is a technical description—you get a whispery, tinny, C3PO type of echo to everything. It really destroys the quality of the video clips (especially bad when I am trying to capture priceless memories of my 4- and 7-year-old sons—I don’t want their voices destroyed for all time).
    Every conversion program I tried ended up with the same audio problem. I concluded that it is something strange in the way the Kodak cameras store the MOV files.
    Strangely enough, I noticed that the QuickTime player didn’t distort the audio like this. The audio sounds just fine through QuickTime. More on this shortly.
    The second, more serious problem is that RADtools could not properly convert some of the video clips at all. (This problem only affected less than 10% of the clips I originally filmed, but most of those clips were very short—less than 20 seconds. It seems that the probability of this problem gets worse, the longer the clip.) RADtools would misreport the number of frames in the clip, and would stretch out a small number of frames of video (in slow motion) to match the length of the audio.
    Again, I confirmed that this is a property of some of the MOV files stored by the camera. Other conversion tools also had problems with the same MOV clips.
    After more angst, I found a number of websites in which frustrated owners of these Kodak cameras have reported the exact same problems.
    It was only then that I discovered that QuickTime itself can convert MOV files to AVI. Believe it or not, it’s built into the QuickTime Player that Kodak supplies, or that you can download free from apple.com. The problem is that you can’t use it unless you pay Apple to upgrade to QuickTime Pro.
    After realising that this would probably be the only way to get decent audio for these clips, I paid the AU$59 to Apple Australia to get the licence key that enables the extra “Pro” menu options in QuickTime.
    Sure enough, you can “Export” any MOV file to a number of formats, including AVI. And guess what? The audio comes out fine!
    So, the first piece of advice I can give is: pay Apple the US$29 (or whatever amount it is in your country) to upgrade QuickTime to QuickTime Pro.
    From here, however, there are still a few snags to untangle.
    The first is that the default settings for Exporting to AVI don’t give a great result. It defaults to the Cinepak codec, medium quality. This looks terrible compared to the original QuickTime movie. Even on maximum quality, that codec just doesn’t give good results.
    I finally found that the best option is to use the Intel Indeo Video 4.4 codec, set on maximum quality. This creates AVI files that are 10 to 20 times larger than the original MOV files, but the quality is there. If (like me) you only want the AVI files so you can dump them into your Video-CD program, then you want to keep the quality as high as possible in this first step. The extra hard disk space is not really a concern. When your VCD program converts the AVI files to MPEG, it will compress them to the usual VCD size.
    Now for the biggest snag: those problem MOV files are still a problem, even for QuickTime Pro. Unbelievably, these Kodak cameras are spitting out MOV files which have some sort of technical flaw in their data specifications. QuickTime is able to play them back fine—and that seems to be all that the Kodak engineers really checked. However, if QuickTime Pro tries to export them, then when the progress bar gets to the end, it never finishes. It just keeps going. If you check the output folder with Explorer, and keep hitting F5 to update the file listing, you can see the file getting bigger, and bigger, and bigger. It never stops.
    That this happens even for QuickTime itself (the native format for these files) confirms that the problem is with the software built into these Kodak cameras. It would be nice it they issued a patch or a fix. I couldn’t find one.
    Fortunately, there is a “workaround” for this problem. I found it when trolling the net trying to find solutions to all these problems. The workaround is to use QuickTime Pro’s cut and paste facility. Open the problem MOV file, then press Ctrl-A (the standard key combination for “select all”—in this case it selects the entire film clip, as you can see by the grey selection of frames at the bottom of the player). Then hit Ctrl-C (i.e. copy, which in this case copies all the frames, but not the incorrect data structure in the original MOV file). Now hit Ctrl-N (i.e. new, in this case a new MOV file or player). In this new player, press Ctrl-V (i.e. paste). Now you have a new version of the MOV file with the bad data structure exorcised. You can save this under a new name, but make sure you specify “Make movie self-contained”—otherwise, it will simply be a link to the original (bad) MOV file, which you are probably going to delete once you save the exorcised version. (You also cannot overwrite the original file, because it needs to access that to make the “self-contained” movie. You need to give it a slightly different name, save it “self-contained”, then delete the original and rename the new copy back to what you wanted it to be. A pain, I agree, but at least the **** thing works—finally!)
    The exorcised MOV file can now be used to Export to AVI format. (I also keep all the MOV files on a separate CD, in case I want to reconvert them to a different format in the future. I figure it’s better keeping the exorcised ones than the haunted ones.)
    So I hope that all this answers a few of your questions. No, you weren’t being incredibly stupid.

  • How do I quickly move files from old iMac to new one?

    how do I quickly move files from old iMac to a new one?

    How many files, and what total size?
    To move ALL your files from an old Mac, you would use Migration Assistant, using either an Ethernet or Firewire connection. It's not quick, though.
    To move just a few, you COULD put the old Mac into target mode (reboot it while holding T, and connect a Firewire cable, with Thunderbolt adaptor on the new end if need be). Or you could just copy them via an external (probably USB, for compatibility) drive or flash drive, formatted Mac Extended.
    Matt

  • How can I copy mp3 files from my Itunes library to an SD card for use in a non-apple phone?

    How can I copy mp3 files from my Itunes library to an SD card for use in a non-apple phone?  I can physically copy the tunes as mp3's but the phone does not seem to be able to play all of them.   Do I need to copy an entire album or can I just pick & choose individual songs?   The phone is question is an LG running who knows what for an operating system.

    AAC is Advanced Audio Coding.  Basically it's a format that sounds better than MP3 but doesn't take up as much space as a lossless format (like you'd have on a CD).  More than likely you've had that encoding turned on when you ripped your music into itunes (it's the default encoder).  Therefore your LG phone won't play them.
    You need to turn off the AAC format by going to the iTunes menu, Preferences, General (at the top), then clicking the "Import Preferences" button.  Change the AAC Encoder to MP3 Encoder.  After that you'll have to make MP3 copies of your songs by right clicking them and selecting "Create MP3 Version."  You'll get a copy of the song that should transfer to your SD card and have MP3 encoding.  Hopefully your phone will play that.

  • IMac is not booting - How can I copy my files to an external drive

    Hello,
    my iMac (late 2009 model, OS X 10.7.4) is not booting anymore. The iMac stopps booting at the Apple logo and the spinning gear.
    I tried a couple of things that I found here in the community but nothing worked.
    start in safe mode => iMac shuts off after a couple of seconds
    start with safe boot (Shift-Command-V) => I'll get a couple of error messages, e.g. disk0s2: I/O error.   SATA WARNING: Enable Drive PHY PM failed
    reset the NVRAM/PRAM => no change
    But when I try to get access on the HD with the FireWire Target Disk Mode, I can see the following folders: Applications, Library, System, Users. But the statusbar shows 0 items for each folder and it shows that the HD has 650 GB available. I have the original 1TB HD. When I try to start OS X from an external drive I can see the same folders. I tried Data Rescue 3 to scan my files, but the software stopps with an error.
    My TimeMachine backup was not working, so I have no actual backup and need to find a solution to copy my files to an external drive.
    Instead of Data Rescue 3, I can use TechTools Pro 6 alternatively.
    Would Data Rescue 3 find files if I erase and create a new partition on the HD?
    What I found out so far, it looks like a corrupted file system.
    Have anyone an idea or a tip, how I can copy my files?
    I would be more than happy if someone can help me.
    Thank you very much for all answers in advance.

    The internal drive is failing, or has failed. You may not be able to save the data.
    There are several ways to back up a Mac that is unable to fully boot. You need an external hard drive to hold the backup data.
    1. Boot into Recovery (command-R at startup) or from a local Time Machine backup volume (option key at startup.) Launch Disk Utility and follow the instructions in the support article linked below, under “Instructions for backing up to an external hard disk via Disk Utility.”
    How to back up and restore your files
    2. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, boot the non-working Mac in target disk mode by holding down the key combination command-T at the startup chime. Connect the two Macs with a FireWire or Thunderbolt cable. The internal drive of the machine running in target mode will mount as an external drive on the other machine. Copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    How to use and troubleshoot FireWire target disk mode
    3. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.

  • How do i copy my files from my external hard drive onto my imac

    how do i copy my files from my external hard drive onto my imac

    You should be able to 'migrate them' without having to do so during a reinstall, from an external drive. In some cases, you may be able to use TimeMachine software even if the drive had not been used as a backup.
    The usual way, though, is to drag & drop copy from one to another (volume or folder) you created in there and have open. Or drag an item on top of the icon of a hard disk drive when it is mounted on the desktop. I'm used to working with open folders and windows, because that works best; and then see if I want to change how things look inside their destination. This helps should I later want to burn them to a DVD and have it correct. And I want to know where they are.
    I had more links to some information about importing or migrating data into a Mac from an external, a week ago, but can't find them now. A few good links to pages, but I think I posted what I did find directly to answer someones question about it; and believe the info was in an Apple Support article about TimeMachine, near the lower part of the page with blue words with a disclosure triangle, so you could read more in that page. But I don't believe these two are correct in that TimeMachine (some versions) only allow wireless backup to a drive in a base station unit such as Apple sells, for this. The link I saw simply said how to work around not using the wireless stuff. Maybe it was a dated item, not in these?
    See a main general portal to TimeMachine support,
    here: http://www.apple.com/support/timemachine/
    Or basics that may not provide optional copy methods:
    Mac Basics - Time Machine backs up your mac:
    http://support.apple.com/kb/ht1427
    Perhaps a search of Apple Support database (or even ASC discussions?) would yield ideas, and perhaps find what may work for the kind of files you want to copy, and where they can be found & used later. Are the files for specific applications? Or images, music, etc?
    Good luck & happy computing!
    edited.

  • How can I copy a file through a logon script with UAC enabled ?

    Hello,
    I have a batch that is copying a file to "%public%\desktop\" (windows 7) folder through a logon GPO (GPO from user configuration).
    Everytime I try, I have an "access denied". I know it is because UAC and I don't want to disable it.
    Through explorer.exe, I can copy this file with no problem with this same account.
    How can I copy a file to such folder through group policy please ?
    I dont want to use GPP as the script is used on WinXP too and I dont have the hotfix to support GPP on this operating systems.
    Thank you

    > I have a batch that is copying a file to "%public%\desktop\" (windows 7)
    > folder through a logon GPO (GPO from user configuration).
    > Everytime I try, I have an "access denied". I know it is because UAC and
    > I don't want to disable it.
    Since you are copying to a non-user specific-directory, I'd recommend
    using a startup script instead...
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • How can I play mov file on ipad2?

    How can I play mov file on ipd2? Anyone? Thanks.

    I imported (using Photos app) a .mov file from my Nikon camera. Tap the icon and it played.
     Cheers, Tom

  • How do I copy music files in Apple Lossless format on to a flash drive so I can play on a digital media player.

    I have an iMac 21", running on OS X Yosemite 10.10.2, processor is 2.7GHz Intel Core i%, Memory 8GB 1333MHz.
    I would like to copy some of my iTunes music in Apple Lossless or AIFF to a flash drive which I would like to insert into a digital media player in my home Hi Fi system. How do I copy the files in these formats. Thank you.

    Drag the song files there, either from the iTunes application window or the iTunes Media folder in the Finder.
    (125190)

  • How can we copy the file in to the importdp/exportdp location

    How can we copy the file in to the importdp/exportdp location after doing the import and export activity.?

    How can we copy the file in to the importdp/exportdp location after doing the import and export activity.?use Operating System command; like COPY or cp.

  • How do i edit move file in pre elements

    I shot in a canon 60d  the footage is not supported in pre elements ,how do i edit move file in pre elements

    issac
    What version of Premiere Elements are you using and on what computer operating system is it running?
    When you write "move" file, do you mean "movie" file?
    Do you have QuickTime installed on your computer along with Premiere Elements? If not, please do so.
    Generalizing because you did not give all the details, I would say that the Canon 60D AVCHD.mov file should be supported by
    Premiere Elements as long as you have QuickTime installed on the same computer with Premiere Elements.
    Please review and consider and supply more details.
    We will be watching for the details.
    Thank you.
    ATR

  • How can I transfer .mov files to my iPad?

    How can I transfer .mov files to my iPad?

    If it's on a SD card in your camera, you cau use the camera connection kit, either by connecting the camera or inserting the SD card.
    If it's on your computer, you can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
     Cheers, Tom

Maybe you are looking for

  • Define Partner Determination Procedure With Filter?

    Hello in SPRO you can define the partner determination procedure: SPRO->CRM->Basic Functions->Partner Processing->Define Partner Determination Procedure Here you can define a partner for instance for our sales team in the opportunities module I have

  • How do i erase the app from my launchpad i no longer have use for?

    how do i erase the app i nolonger use, its on m launchpad?

  • Bluetooth hotsync 755p palm and hp windows 7

    Posted in the wrong area. I am a Volunteer here, not employed by HP. You too can become an HP Expert! Details HERE! If my post has helped you, click the Kudos Thumbs up! If it solved your issue, Click the "Accept as Solution" button so others can ben

  • Do I have a chan

    Hey Everyone, I'm new to the forum. I'm just gonna be flat out honest and see if I have a chacne at repair or replacement for my mp3 player. I have the Muvo NX.One day I had it plugged into the USB port on the side of my computer and, yes I am an idi

  • Multiple file operation

    Hi. I am new to Diadem scripting and need to write a script to perform a data treatment task on a large number of daily measurement TDMS files (sequentially numbered). The script needs to open each file individually (as they are very large), save the