Copy a linux OS and files from one device and run them on another

VM or physical?

I have a device running a linux os and I want to copy its OS and files and then run them on a custom built machine. Is this possible and how would I go about doing it remotely say with FTP?
This topic first appeared in the Spiceworks Community

Similar Messages

  • How to copy very large number of files from one drive to another???

    I'm a fairly experienced Mac user for serveral years but this problem really has me stumped.
    I'm trying to copy or move 152,000 files from one external drive to another drive. I can highlight (Cmd - A) all the files on the first drive and drag them to the second drive but Finder always shows 32,768 files being copied no matter what I try.
    Any and all suggestions on how to move/copy a large number of files from one external drive to another are greatefully appreciated.
    Thank you in advance,
    Mack

    I would use the command line tool rsync.
    For instance with: rsync -av source-dir destination-dir
    -a The files are transferred in "archive" mode, which ensures that symbolic links, devices, attributes, permissions, ownerships, etc. are preserved in the transfer.
    -v Verbose, so you see the progress.
    Rsync is fast and really, really powerful and many times used in shell scripts and the like to automatically backup and/or sync stuff. Google a bit for more info.

  • How do I copy the same app folder layouts from one device to another? We have a several iphones and ipads.

    how do I copy the same app folder layout from one device to another. We have several apple devices.
    It's a challenge when syncing a device for the first time to go through all the apps and apply them back to the same folders as on your other iphone.
    I've seen suggestions of taking pictures of the correct layout, then manually applying it to the new device. Big time waister.
    What's the work around?
    Thank you

    I'm afraid there is no short workaround. One thing that you could do if you were REALLY desperate is reset your device to factory settings and then restore it from your other device's backup, but that is rather risky and you probably don't want to take your chances just for folder layouts. I would just do it manually.

  • How can I move an icon/file from one screen of my ipad to another?

    How can I move an icon/file from one screen on my ipad to another?

    Press and hold the icon until they start to wiggle. Then while holding it, drag it to the edge of the screen and wait for the page to switch, then let go of the app

  • Files I upload from one device are not visible on another device

    I have multiple devices signed into the same Adobe account to share and upload files. I am having a problem with uploading files, and them not being visible on my other devices. I have tried deleting and re-uploading them, logging out and back in. Nothing has solved the problem and I need this program to work to share files for my business. Does anyone have a solution?

    Hi cb45689,
    Does it matter which devices you upload from? Or does the issue occur regardless of where you initiate the upload? And, which devices are you using (tablet, phone, laptop)?
    If you're logging in via a browser, does it help to clear the browser cache and then log back in?
    Best,
    Sara

  • Can I move an ibook author file from one device to another?

    I have ibook Author on my Macbook and my Mac Mini.  If I start a project on my Macbook, is it possible to transfer the incomplete file to my Mini (where all my pictures and charts are stored) later to complete it?
    ~~ Chikana

    Just like any other file, save your book where you can find it - it will have the suffix .iba
    Move that file, however you like, to your other computer and continue there.

  • Can I transfer app memory (data, not files) from one device to another?

    I have tons of games like Tiny Tower, Cut the Rope, and 243 other games that I would like to keep the memory for (beaten levels, money earned etc.). If I buy an iPhone, is it possible to transfer my app memory to the new device?

    Yes. First you have to back up your data onto iCloud or your computer on iTunes.
    When you have your iPhone:
    Turn on your iPhone, go through the default setup, and when you are on the set up iPhone page, tap
    " Restore from iCloud Backup" - Must enter Apple Id
         or
    " Restore from iTunes Backup" -Must connect iPhone to computer to iTunes
    Then it will sync all your old data to your iPhone.

  • How do I send a text file from one device to another?

    Hi,
    I'm working on an Android Air app made in CS5.5 where user data is saved in the app's applicationStorageDirectory as a text file.
    Is there a way to send this saved text file to another device's applicationStorageDirectory via Bluetooth/email/text e.g?
    The idea is that the app "game" is saved on each person's device. When the game is over, I want the users to be able to compare their results. (I'll write some code to compute who the winner is via comparing the two results)
    Any help is greatly appreciated. Some code sample would be terriffic.
    Thanks,
    J.D.

    You're in native extension territory. Access to things like bluetooth are well beyond the scope of the AIR framework. You'd need to write a native extension, which is code that taps into the native functionality of the device to expand flash's abilities, to use something like bluetooth.
    For you to share locally it most likely may need you to use push notifications, which are perfectly possible, even on wifi.

  • How to copy my Firefox bookmarks and paste them into another computer?

    OK. I found an answer in a thread here but it is already closed. I have an additional question. The moderator said there:
    Quoting:
    Depending on what you want to do there are a couple of options.
    If you want to replace the bookmarks on the other computer with the bookmarks from your desktop, use the method in this link to backup the bookmarks to a file and then restore them on the other computer - https://support.mozilla.com/kb/Backing+up+and+restoring+bookmarks
    If you want to add the bookmarks from the desktop to those that already exist on the other computer, you need to export them to an HTML file, and import that file on the other computer. See these links for details:
    https://support.mozilla.com/kb/Exporting+bookmarks+to+an+HTML+file
    https://support.mozilla.com/kb/Importing+Bookmarks+from+an+HTML+File
    I want to do the second one - "add the bookmarks from the desktop to those that already exist on the other computer"
    The problem is that my Firefox is version 4.0. I read somewhere in the bookmarks topics that I should have done nothing before upgrading to version higher than 12.
    The thing is my computer is 8 years old and I have only 512 MB RAM. There is no way to upgrade more that v.4.0. My computer can not handle it.
    Any suggestions? Can I export and import with v.4.0 safely?

    You would have to export the bookmarks to an HTML file on the old (XP) computer.
    *Bookmarks > Show All Bookmarks > Import & Backup > Export Bookmarks to HTML
    Then you can copy this file to an USB stick and import this file in Firefox on the other computer.<br />
    Importing an HTML backup will merge those bookmarks with already existing bookmarks.
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Open Directory)

  • I want to copy my Desktop bookmarks and paste them into another computer.

    Cannot file a File that contains the bookmarks.

    Depending on what you want to do there are a couple of options.
    If you want to replace the bookmarks on the other computer with the bookmarks from your desktop, use the method in this link to backup the bookmarks to a file and then restore them on the other computer - https://support.mozilla.com/kb/Backing+up+and+restoring+bookmarks
    If you want to add the bookmarks from the desktop to those that already exist on the other computer, you need to export them to an HTML file, and import that file on the other computer. See these links for details:
    * https://support.mozilla.com/kb/Exporting+bookmarks+to+an+HTML+file
    * https://support.mozilla.com/kb/Importing+Bookmarks+from+an+HTML+File

  • How do I transfer files from one third party app to another through wifi and without a computer

    How do I transfer files from one third party app directly to another third party app through wifi and without a computer?

    Wifi network
    Email
    Thumb Drive
    Online storage such as, iCloud Google Docs, SkyDrive, etc.

  • HT201236 I want to do something so simple that there are no instructions. I just need to have two windows open at the same time so I can transfer files from one to the other by drag

    I want to transfer files from one device (or page ) to another by drag and drop , so i need two windows ope   at the same time,
    I know this can be done but I have forgotten how

    Don't use any full screen options for any app that has them
    Mount your device and double click on it to open it. Drag this window to the upper right of your Desktop and resize it to a bit less than half of your Desktop.
    Open the next folder and position it on the lower left side and resize it so you can still see the previous window.

  • Is there a way to move files from one folder to another without copying and pasting and then going back to delete the original?

    Is there a way to move files from one folder to another without copying and pasting and then going back to delete the original?  The cut and paste function is not available and there's no "move to" function.  Am I missing something?  It was so easy with Windows.

    Drag the files, or press Option when pasting them; this accesses the Move To function.
    (124070)

  • Java Program to copy file from one directory to another failing

    Hello All,
    Oracle Applications 12.1.3
    RDBMS: 11.2.0.30
    SQL*Plus: 10.1.0.5.0
    Java beginner here so help is much appreciated.  I'm have some java code that I'm using to copy a file from one directory to another in an Oracle Applications Server.  I notice that when moving to a new instnace I started to get file not found errors.  I think it's because of the directory.  My question is, does the directory in which I trying to pick up the file have to be a DBA_DIRECTORY, or a UTL_FILE directory in order for the java to find the file and move it?
    Here is my code...
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "COPY_FILE_JVS" AS
    import java.io.*;
    public class COPY_FILE_JVC{
      public static void copy(String SourceFile, String DestDir) {
        File source = new File(SourceFile);
        File dest = new File(DestDir);
        File cpDestFile = null;
        try {
          if (dest.isDirectory()) {
              if(source.isFile()) {
                System.out.println("File name = " + source.getName());
                System.out.println("File name dest = " + dest.getPath() );
                System.out.println("File name cpDestFile = " + dest.getPath() + File.separator + source.getName());
                cpDestFile = new File(dest.getPath() + File.separator + source.getName());
              else {
                System.out.println("Directory or File Not Found");
                return;
          BufferedInputStream  br = new BufferedInputStream (new FileInputStream (source));
          BufferedOutputStream  bw = new BufferedOutputStream (new FileOutputStream (cpDestFile));
          int read = 0;
          while((read = br.read()) != -1) {
            //System.out.println((char)read);
            bw.write(read);
          br.close();
          bw.close();
        catch (FileNotFoundException e) {
        e.printStackTrace();
        catch (IOException e) {
        e.printStackTrace();

    I get these messages when calling the java from SQL Plus as follows...
    serveroutput on size 100000;
    dbms_java.set_output(1000000);
    MY_PKG.CopyFile('/home/my_user/set_env.sh','/interface/home'); (this is call to oracle pl/sql package which calls the java.)
    PL/SQL procedure successfully completed.
    Directory or File Not Found
    PL/SQL procedure successfully completed.
    If I change the directory from /home/my_user/ to any directory that is defined in DBA_DIRECTORIES or is a UTL_FILE directory to program works.  Is it perhaps because the java is in a PL/SQL package as seen below?  The PL/SQL program runs as the APPS user and I have issued the following the command grant JAVASYSPRIV to APPS.
    Here is the PL/SQL Package....
    CREATE OR REPLACE PACKAGE BOLINF.MY_PKG AUTHID CURRENT_USER AS
    CopyFile(p_SourceFile IN VARCHAR2, p_DestDir IN VARCHAR2);
    +++++++++++++++++++++++++++++
    CREATE OR REPLACE PACKAGE BODY BOLINF.MY_PKG  is
    CopyFile(p_SourceFile IN VARCHAR2, p_DestDir IN VARCHAR2)
    AS LANGUAGE JAVA NAME 'COPY_FILE_JVC.copy(java.lang.String, java.lang.String)';

  • How to copy file from  one location to another

    Hi,
    I am new to java, I tried the following code to move the file from one location to another
    public class CopyFiles {
    public String copy ( File source, File target)
    throws IOException {   
    FileChannel sourceChannel = null;
    FileChannel targetChannel =null;
    try {   
    sourceChannel =new FileInputStream(source).getChannel();
    targetChannel= new FileOutputStream(target).getChannel();
    targetChannel.transferFrom(sourceChannel, 0,
    sourceChannel.size());
    finally {   
    targetChannel.close();
    sourceChannel.close();
    return "Success";
    public static void main(String [] args) throws Exception{   
    File source = new File("C:\\users\\download.pdf");
    File destinationFile = new File("C:\\apple\\download.pdf");
    copy(source, destinationFile);
    The above code is working perfectly, but I Don't want to include the file name in destination file. i.e. File destinationFile=new File("C:\\apple"), and at the same time the pdf with same name has to get stored in the destination location, how can I achieve this.

    kameshb wrote:
    I Don't want to include the file name in destination file. i.e. File destinationFile=new File("C:\\apple"), and at the same time the pdf with same name has to get stored in the destination location, how can I achieve this.It's not totally clear what you're saying here, but what I think you mean is that you don't want to explicitly set the destination file name--you want to just give the copy the same name as the original. Yes?
    If that's the case, then break the original up into separate directory and file name portions, and then construct the destination path from the destination directory plus original file name. You can do that by manipulating the full path string, or by using the methods in java.io.File.

Maybe you are looking for