Help with file management

Well I am just starting my first project using FCP and can see that it is going to be a learning curve after coming over from PPro.
One thing that I have been unable to find is just how to keep track of which clips have been used in the timeline, and how many times. In Premiere Pro I had the option to show video and audio usage for each clip in the browser.
Have not found how to do this yet in FCP.
Hope someone can help with this....
Thanks
Kirk

Guess that I just have to get used to how it is done in FCP. I have over 1,500 clips in about 30 folders and it would sure make it easy if I could just glance at a clip in the browser and see if it has been used.
Thanks for the tip on the duplicate frames though. That is going to help to identify duplicate clips once they are placed in the timeline.
Sure seems like a lot of time spent identifying if a clip is already used though. As I look through the clips in the browser I guess there is no way to tell if they have been used other than put them in the timeline or use the search function.
Still learning here.
Thanks
Kirk

Similar Messages

  • Is there a Java utility class to help with data management in a desktop UI?

    Is there a Java utility class to help with data management in a desktop UI?
    I am writing a UI to configure a network device that will be connected to the serial port of the computer while it is being configured. There is no web server or database for my application. The UI has a large number of fields (50+) spread across 16 tabs. I will write the UI in Java FX. It should run inside the browser when launched, and issue commands to the network device through the serial port. A UI has several input fields spread across tabs and one single Submit button. If a field is edited, and the submit button clicked, it issues a command and sends the new datum to the device, retrieves current value and any errors. so if input field has bad data, it is indicated for example, the field has a red border.
    Is there a standard design pattern or Java utility class to accomplish the frequently encountered, 'generic' parts of this scenario? lazy loading, submitting only what fields changed, displaying what fields have errors etc. (I dont want to reinvent the wheel if it is already there). Otherwise I can write such a class and share it back here if it is useful.
    someone recommended JGoodies Bindings for Swing - will this work well and in FX?

    Many thanks for the reply.
    In the servlet create an Arraylist and in th efor
    loop put the insances of the csqabean in this
    ArrayList. Exit the for loop and then add the
    ArrayList as an attribute to the session.I am making the use of Vector and did the same thing as u mentioned.I am using scriplets...
    >
    In the jsp retrieve the array list from the session
    and in a for loop step through the ArrayList
    retrieving each CourseSectionQABean and displaying.
    You can do this in a scriptlet but should also check
    out the jstl tags.I am able to remove this problem.Thanks again for the suggestion.
    AS

  • Need help with color management

    I am looking for someone to help me.  Please!
    I am looking for help with Photoshop/printer not printing correct colors.
    I have: Windows 7, Photoshop CS5, Photoshop Elements, HP Pavillion Laptop, new Okidata C530dn color laser printer
    Previously I had a Canon Pixma MP620 and a gentleman from another forum gave me the correct settings for printing on photo paper and colors were perfect.  I now have a OKIdata C530dn color laser and have started a business printing business cards and greeting cards, etc., and I do advertisements on a freelance basis.
    I will be working a lot with cardstock or cover stock 65-110 lbs paper.  I have an old OKIdata 2024e at work, and the colors are much better with that printer than my new personal one.  I have tried matching the settings of that printer to mine to no avail.  I have finally gotten the color close, but not quite.  When I print on my Canon injet the colors match and print perfectly.
    I have tried every setting variation that I can think of to get the color correct with my new OKIdata.  I have to get the colors correct or my new business will go under because I can't match colors for my customers.  I am a self taught Photoshoper and a novice so please bear with me.
    Using Okidata PCL.  Also have PS
    Color settings in Photoshop:
    North America General Purpose 2
    sRGB 2.1
    U.S. Web Coated Swop v2
    Dot gain 20 %
    Dot gain 20 %
    Preserve embeded profile
    Preserve embeded profile
    Preserve embeded profile
    engine: Adobe (ACE)
    Relative Colormetric
    Tried RGB color mode and CMYK color mode, no difference
    Printer settings:
    Photoshop manages colors
    sRGB 2.1 Printer profile
    Relative Colormetric
    Print setup:
    Letter
    Multipurpose tray
    Weight: printer settings-default  (when I used heavy setting for cardstock it printed green instead of the color light blue, so that was a start to the right color)
    Job Options:
    Hight Quality
    Color: No color matching
    Printer preferences in Printer properties:
    Color management
    Device: Display 1 generic PnP monitor AMD M88og with ATI Mobility Radeon HD4200
    ICC Profiles: Generic PnP Monitor (default)
    Advanced:
    Windows Color System Defaults:
    everything under this tab is set at System Default
    I have gotten the color close, but colors are dull. I have tried an adjustment layer and setting the saturation higher, but that doesn't help.  I know my laptop is showing the right colors, (calibrated) because I am still printing to the Canon with cardstock and the colors are perfect using the same settings above.
    Tried printing in PSE and it gave me an error that it was not a post script printer.  Installed ps driver, still getting errors and it wouldn't print.
    I would appreciate any help you could give me before I run out of toner and have to buy the expensive toners, or just slit my wrists j/k  LOL
    Thanks!  JS

    You need an ICC profile for your printer.  Chromix has an excellent service at http://www2.chromix.com/colorvalet/ which will do this calibration for you.  You download some software they provide, then print a test file on the exact same paper you are using for your cards.  Then send the output to them and they will calibrate the colors with their equipment and send you the ICC profile file.  Once you have it, you'll be able to print accurate colors.
    There are other services out there that may cost less, but I do not know how reputable they are.  Chromix is a good business I've worked with many times.
    If you are trying to run a business and you don't understand color management yet, you may be in for a lot of trouble.  Please get the book "Real World Color Management" available at http://www.colorremedies.com/realworldcolor/ and it will save you a ton of money and headaches.

  • Having problem uploading files with file manager

    When i use file manager and try to select a file from desktop then desktop disappears quickly so you can't even select the file you want.  I'm using firefox 25 and i thought it was that so i deleted firefox and reinstalled firefaox and get the same problem.
    It tried with safari and it works ok.  Any ideas on how to fix this?  Its really annoying.
    Thanks,
    Den

    Well, since you didn't mention exactly what the problem is, I have to assume you have not set up your website definition properties correctly. There are plenty of good step by step instructions in the help files for setting up your website definition.

  • [solved] Xdg-open to open everything with file manager

    I like to screw around with my system constantly and xdg-utils is an annoying utility to have to constantly fiddle with. I know there is a way to get xdg-open to open everything with the default file manager, but my google fu has failed me. As of right now I use pcmanfm, and I'm fairly certain I'm sticking with it for the long haul.
    Last edited by shamanstk (2010-05-11 17:57:15)

    Mr.Elendig wrote:perl-file-mimeinfo installed?
    This helped with a xdg-open anomaly. Before installing perl-file-* packages, pcmanfm used to open everything in firefox (which is set as default browser in xdg-open). Thought could be helpful to anyone having problems with applications using xdg-open.
    Last edited by shemz (2010-08-03 15:02:52)

  • Need Help With File Matching Records

    I need help with my file matching program.
    Here is how it suppose to work: FileMatch class should contain methods to read oldmast.txt and trans.txt. When a match occurs (i.e., records with the same account number appear in both the master file and the transaction file), add the dollar amount in the transaction record to the current balance in the master record, and write the "newmast.txt" record. (Assume that purchases are indicated by positive amounts in the transaction file and payments by negative amounts.)
    When there is a master record for a particular account, but no corresponding transaction record, merely write the master record to "newmast.txt". When there is a transaction record, but no corresponding master record, print to a log file the message "Unmatched transaction record for account number ..." (fill in the account number from the transaction record). The log file should be a text file named "log.txt".
    Here is my following program code:
    // Exercise 14.8: CreateTextFile.java
    // creates a text file
    import java.io.FileNotFoundException;
    import java.lang.SecurityException;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import org.egan.AccountRecord;
    import org.egan.TransactionRecord;
    public class CreateTextFile
      private Formatter output1;  // object used to output text to file
      private Formatter output2;  // object used to output text to file
      // enable user to open file
      public void openTransFile()
        try
          output1 = new Formatter("trans.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openTransFile
      // enable user to open file
      public void openOldMastFile()
        try
          output2 = new Formatter("oldmast.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openOldMastFile
      // add transaction records to file
      public void addTransactionRecords()
        // object to be written to file
        TransactionRecord record1 = new TransactionRecord();
        Scanner input1 = new Scanner(System.in);
        System.out.printf("%s\n%s\n%s\n%s\n\n",
          "To terminate input, type the end-of-file indicator",   
          "when you are prompted to enter input.",
          "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
          "On Windows type <ctrl> z then press Enter");
        System.out.printf("%s\n%s",
           "Enter account number (> 0) and amount.","? ");
        while (input1.hasNext())  // loop until end-of-file indicator
          try // output values to file
            // retrieve data to be output
            record1.setAccount(input1.nextInt());    // read account number
            record1.setAmount(input1.nextDouble());  // read amount
            if (record1.getAccount() > 0)
              // write new record
              output1.format("%d %.2f\n", record1.getAccount(), record1.getAmount());
            } // end if
            else
              System.out.println("Account number must be greater than 0.");
            } // end else
          } // end try
          catch (FormatterClosedException formatterClosedException)
            System.err.println("Error writing to file.");
            return;
          } // end catch
          catch (NoSuchElementException elementException)
            System.err.println("Invalid input. Please try again.");
            input1.nextLine(); // discard input so user can try again
          } // end catch
          System.out.printf("%s %s\n%s", "Enter account number (> 0) ",
            "and amount.","? ");
        } // end while
      } // end method addTransactionRecords
      // add account records to file
      public void addAccountRecords()
        // object to be written to file
        AccountRecord record2 = new AccountRecord();
        Scanner input2 = new Scanner(System.in);
        System.out.printf("%s\n%s\n%s\n%s\n\n",
          "To terminate input, type the end-of-file indicator",   
          "when you are prompted to enter input.",
          "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
          "On Windows type <ctrl> z then press Enter");
        System.out.printf("%s\n%s",
           "Enter account number (> 0), first name, last name and balance.","? ");
        while (input2.hasNext())  // loop until end-of-file indicator
          try // output values to file
            // retrieve data to be output
            record2.setAccount(input2.nextInt());    // read account number
            record2.setFirstName(input2.next());      // read first name
            record2.setLastName(input2.next());       // read last name
            record2.setBalance(input2.nextDouble());  // read balance
            if (record2.getAccount() > 0)
              // write new record
              output2.format("%d %s %s %.2f\n", record2.getAccount(), record2.getFirstName(),
                record2.getLastName(), record2.getBalance());
            } // end if
            else
              System.out.println("Account number must be greater than 0.");
            } // end else
          } // end try
          catch (FormatterClosedException formatterClosedException)
            System.err.println("Error writing to file.");
            return;
          } // end catch
          catch (NoSuchElementException elementException)
            System.err.println("Invalid input. Please try again.");
            input2.nextLine(); // discard input so user can try again
          } // end catch
          System.out.printf("%s %s\n%s", "Enter account number (> 0),",
            "first name, last name and balance.","? ");
        } // end while
      } // end method addAccountRecords
      // close file
      public void closeTransFile()
        if (output1 != null)
          output1.close();
      } // end method closeTransFile
      // close file
      public void closeOldMastFile()
        if (output2 != null)
          output2.close();
      } // end method closeOldMastFile
    } // end class CreateTextFile--------------------------------------------------------------------------------------------------
    // Exercise 14.8: CreateTextFileTest.java
    // Testing class CreateTextFile
    public class CreateTextFileTest
       // main method begins program execution
       public static void main( String args[] )
         CreateTextFile application = new CreateTextFile();
         application.openTransFile();
         application.addTransactionRecords();
         application.closeTransFile();
         application.openOldMastFile();
         application.addAccountRecords();
         application.closeOldMastFile();
       } // end main
    } // end class CreateTextFileTest-------------------------------------------------------------------------------------------------
    // Exercise 14.8: TransactionRecord.java
    // A class that represents on record of information
    package org.egan; // packaged for reuse
    public class TransactionRecord
      private int account;
      private double amount;
      // no-argument constructor calls other constructor with default values
      public TransactionRecord()
        this(0,0.0); // call two-argument constructor
      } // end no-argument AccountRecord constructor
      // initialize a record
      public TransactionRecord(int acct, double amt)
        setAccount(acct);
        setAmount(amt);
      } // end two-argument TransactionRecord constructor
      // set account number
      public void setAccount(int acct)
        account = acct;
      } // end method setAccount
      // get account number
      public int getAccount()
        return account;
      } // end method getAccount
      // set amount
      public void setAmount(double amt)
        amount = amt;
      } // end method setAmount
      // get amount
      public double getAmount()
        return amount;
      } // end method getAmount
    } // end class TransactionRecord -------------------------------------------------------------------------------------------------
    // Exercise 14.8: AccountRecord.java
    // A class that represents on record of information
    package org.egan; // packaged for reuse
    import org.egan.TransactionRecord;
    public class AccountRecord
      private int account;
      private String firstName;
      private String lastName;
      private double balance;
      // no-argument constructor calls other constructor with default values
      public AccountRecord()
        this(0,"","",0.0); // call four-argument constructor
      } // end no-argument AccountRecord constructor
      // initialize a record
      public AccountRecord(int acct, String first, String last, double bal)
        setAccount(acct);
        setFirstName(first);
        setLastName(last);
        setBalance(bal);
      } // end four-argument AccountRecord constructor
      // set account number
      public void setAccount(int acct)
        account = acct;
      } // end method setAccount
      // get account number
      public int getAccount()
        return account;
      } // end method getAccount
      // set first name
      public void setFirstName(String first)
        firstName = first;
      } // end method setFirstName
      // get first name
      public String getFirstName()
        return firstName;
      } // end method getFirstName
      // set last name
      public void setLastName(String last)
        lastName = last;
      } // end method setLastName
      // get last name
      public String getLastName()
        return lastName;
      } // end method getLastName
      // set balance
      public void setBalance(double bal)
        balance = bal;
      } // end method setBalance
      // get balance
      public double getBalance()
        return balance;
      } // end method getBalance
      // combine balance and amount
      public void combine(TransactionRecord record)
        balance = (getBalance() + record.getAmount()); 
      } // end method combine
    } // end class AccountRecord -------------------------------------------------------------------------------------------------
    // Exercise 14.8: FileMatch.java
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import org.egan.AccountRecord;
    import org.egan.TransactionRecord;
    public class FileMatch
      private Scanner inTransaction;
      private Scanner inOldMaster;
      private Formatter outNewMaster;
      private Formatter theLog;
      // enable user to open file
      public void openTransFile()
        try
          inTransaction = new Scanner(new File("trans.txt"));
        } // end try
        catch (FileNotFoundException fileNotFoundException)
          System.err.println("Error opening file.");
          System.exit(1);
        } // end catch
      } // end method openTransFile
      // enable user to open file
      public void openOldMastFile()
        try
          inOldMaster = new Scanner(new File("oldmast.txt"));
        } // end try
        catch (FileNotFoundException fileNotFoundException)
          System.err.println("Error opening file.");
          System.exit(1);
        } // end catch
      } // end method openOldMastFile
      // enable user to open file
      public void openNewMastFile()
        try
          outNewMaster = new Formatter("newmast.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openNewMastFile
      // enable user to open file
      public void openLogFile()
        try
          theLog = new Formatter("log.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openLogFile
      // update records
      public void updateRecords()
        TransactionRecord transaction = new TransactionRecord();
        AccountRecord account = new AccountRecord();
        try // read records from file using Scanner object
          System.out.println("Start file matching.");
          while (inTransaction.hasNext() && inOldMaster.hasNext())
            transaction.setAccount(inTransaction.nextInt());     // read account number
            transaction.setAmount(inTransaction.nextDouble());   // read amount
            account.setAccount(inOldMaster.nextInt());     // read account number
            account.setFirstName(inOldMaster.next());      // read first name 
            account.setLastName(inOldMaster.next());       // read last name
            account.setBalance(inOldMaster.nextDouble());  // read balance
            if (transaction.getAccount() == account.getAccount())
              while (inTransaction.hasNext() && transaction.getAccount() == account.getAccount())
                account.combine(transaction);
                outNewMaster.format("%d %s %s %.2f\n",
                account.getAccount(), account.getFirstName(), account.getLastName(),
                account.getBalance());
                transaction.setAccount(inTransaction.nextInt());     // read account number
                transaction.setAmount(inTransaction.nextDouble());   // read amount
            else if (transaction.getAccount() != account.getAccount())
              outNewMaster.format("%d %s %s %.2f\n",
              account.getAccount(), account.getFirstName(), account.getLastName(),
              account.getBalance());         
              theLog.format("%s%d","Unmatched transaction record for account number ",transaction.getAccount());
          } // end while
          System.out.println("Finish file matching.");
        } // end try
        catch (NoSuchElementException elementException)
          System.err.println("File improperly formed.");
          inTransaction.close();
          inOldMaster.close();
          System.exit(1);
        } // end catch
        catch (IllegalStateException stateException)
          System.err.println("Error reading from file.");
          System.exit(1);
        } // end catch   
      } // end method updateRecords
      // close file and terminate application
      public void closeTransFile()
        if (inTransaction != null)
          inTransaction.close();
      } // end method closeTransFile
      // close file and terminate application
      public void closeOldMastFile()
        if (inOldMaster != null)
          inOldMaster.close();
      } // end method closeOldMastFile
      // close file
      public void closeNewMastFile()
        if (outNewMaster != null)
          outNewMaster.close();
      } // end method closeNewMastFile
      // close file
      public void closeLogFile()
        if (theLog != null)
          theLog.close();
      } // end method closeLogFile
    } // end class FileMatch-------------------------------------------------------------------------------------------------
    // Exercise 14.8: FileMatchTest.java
    // Testing class FileMatch
    public class FileMatchTest
       // main method begins program execution
       public static void main( String args[] )
         FileMatch application = new FileMatch();
         application.openTransFile();
         application.openOldMastFile();
         application.openNewMastFile();
         application.openLogFile();
         application.updateRecords();
         application.closeLogFile();
         application.closeNewMastFile();
         application.closeOldMastFile();
         application.closeTransFile();
       } // end main
    } // end class FileMatchTest-------------------------------------------------------------------------------------------------
    Sample data for master file:
    Master file                         
    Account Number            Name                     Balance
    100                            Alan Jones                   348.17
    300                            Mary Smith                    27.19
    500                            Sam Sharp                   0.00
    700                            Suzy Green                   -14.22Sample data for transaction file:
    Transaction file                    Transaction
    Account Number                  Amount
    100                                         27.14
    300                                         62.11
    300                                         83.89
    400                                         100.56
    700                                         80.78
    700                                         1.53
    900                                         82.17  -------------------------------------------------------------------------------------------------
    My FileMatch class program above has bugs in it.
    The correct results for the newmast.txt:
    100  Alan  Jones  375.31
    300  Mary  Smith  173.19
    500  Sam  Sharp  0.00
    700  Suzy Green  68.09The correct results for the log.txt:
    Unmatched transaction record for account number 400Unmatched transaction record for account number 900------------------------------------------------------------------------------------------------
    My results for the newmast.txt:
    100 Alan Jones 375.31
    300 Mary Smith 111.08
    500 Sam Sharp 0.00
    700 Suzy Green -12.69My results for the log.txt
    Unmatched transaction record for account number 700-------------------------------------------------------------------------------------------------
    I am not sure what is wrong with my code above to make my results different from the correct results.
    Much help is appreciated. Please help.

    From the output, it looks like one problem is just formatting -- apparently you're including a newline in log entries and not using tabs for the newmast output file.
    As to why the numbers are off -- just from glancing over it, it appears that the problem is when you add multiple transaction values. Since account.combine() is so simple, I suspect that you're either adding creating transaction objects incorrectly or not creating them when you should be.
    Create test input data that isolates a single case of this (e.g., just the Mary Smith case), and then running your program in a debugger or adding debugging code to the add/combine method, so you can see what's happening in detail.
    Also I'd recommend reconsidering your design. It's a red flag if a class has a name with "Create" in it. Classes represent bundles of independant state and transformations on that state, not things to do.

  • [Solved]Need help with backup-manager

    So I'm trying to set up backup-manager to make.. well, backups. Their wiki has been shut down thanks to spammers, and ours has no specific entry for backup-manager, so I will have to do it with its man page and the (well documented) config file. However, I still have some questions. Sorry in advance for the amount of questions and the length of the topic. I just wanted to get this clear in one go.
    First: I want to make a *full* system backup, so that I can restore my system in case of breakage without reinstalling. When I looked at creating backups in the past, I noticed some folders don't necessarily had to be backupped. What folders in / could I skip?
    Second: I chose the tarball backup format. Would it then be safe to comment out all the other variables (for tarbal-incremental/mySQL) backups?
    Third: Now there were some parts of the config file that I didn't understand. I hope you can explain some of those parts to me.
    # Number of days we have to keep an archive (Time To Live)
    export BM_ARCHIVE_TTL="5"
    That means the archive it creates will be removed after 5 days - but what if I copy it to my external hard disk? I don't think it will delete it then, so would it be safe to comment this out - or what will it do if I just keep it this way?
    # At which frequency will you build your archives?
    # You can choose either "daily" or "hourly".
    # This should match your CRON configuration.
    export BM_ARCHIVE_FREQUENCY="daily"
    I either want to make a backup when I want to, or weekly - not hourly or daily. Is this possible with backup-manager?
    # Do you want to purge only the top-level directory or all
    # directories under BM_REPOSITORY_ROOT?
    export BM_REPOSITORY_RECURSIVEPURGE="false"
    I don't understand that option. Could you explain me what it will do? Info: BM_REPOSITORY_ROOT is set to my home folder. It's the place where the archives are stored.
    # Do you want to replace duplicates by symlinks?
    # (archive-DAY is a duplicate of archive-(DAY - 1) if they
    # are both the same according to MD5 hashes).
    export BM_ARCHIVE_PURGEDUPS="true"
    Will this harm anything in my system?
    # Do you want to dereference the files pointed by symlinks ?
    # enter true or false (true can lead to huge archives, be careful).
    export BM_TARBALL_DUMPSYMLINKS="false"
    This would 'destroy' all symlinks, no? I'm going to keep this at false, but I would like to know.
    Last edited by Unia (2011-08-29 18:19:37)

    Tried to do a selective upgrade & broke something this morning so I tried restoring my CompleteRaid0 backup, worked like a charm.
    This is the latest backup script I'm using:
    #!/bin/sh
    # Little script to tar up the important root folders.
    # To untar, use:
    # tar -xvpzf /path/to/backup/<date>-backup.tar.gz -C </path/to/root>
    echo "Do you want to clear pacman's cache before tarring up the root folder? This will save time in both the tar- and untar process."
    echo -n "(y|N) > "
    read a
    if [[ "$a" = "n" ]] || [[ "$a" = "N" ]] || [[ "$a" = "" ]]; then
    echo "Pacman's cache will not be cleared."
    else
    echo "Pacman's cache will be cleared now, please wait..."
    pacman -Scc --noconfirm
    echo "Pacman's cache succesfully cleared. Continuing now..."
    sleep 2s
    fi
    DATE=`date +%m%d-%H%M%S`
    CB=CompleteRaid0-$DATE.tar.gz
    NB=FreshInstall-$DATE.tar.gz
    echo "********************************************************************************"
    echo "Proceeding with Fresh Install backup $NB."
    echo "********************************************************************************"
    sleep 5
    cd /
    tar -cvpzf $NB --one-file-system \
    /boot \
    --exclude=/$NB \
    --exclude=/dev \
    --exclude=/etc/fstab \
    --exclude=/home \
    --exclude=/lost+found \
    --exclude=/media \
    --exclude=/mnt \
    --exclude=/proc \
    --exclude=/root \
    --exclude=/sys \
    --exclude=/tmp \
    mv $NB /home/chuck/Backups/
    echo "********************************************************************************"
    echo "Sleeping for 10 seconds."
    echo "Proceeding with complete backup $CB."
    echo "********************************************************************************"
    sleep 5
    tar -cvpzf $CB --one-file-system \
    /boot \
    --exclude=/$CB \
    --exclude=/tmp \
    --exclude=/mnt \
    mv $CB /home/chuck/Backups/
    echo "********************************************************************************"
    echo "Backups Complete"
    echo "********************************************************************************"
    sleep 10
    exit 0
    Restored it with this:
    #!/bin/sh
    # To untar, use:
    # tar -xvpzf /path/to/backup/<date>-backup.tar.gz -C </path/to/root>
    tar -xvpzf /home/chuck/Backups/now.tar.gz -C /
    mkdir /proc \
    /lost+found \
    /sys \
    /mnt \
    /media \
    /mnt/bind/Downloads \
    /mnt/bind/Pictures \
    /mnt/bind/Maintenance \
    /mnt/bind/Music \
    /mnt/bind/Backups
    exit 0
    Of course the directories already existed so that part was unnecessary & only needed if I had restored onto a fresh installation.

  • Please help with File input!

    This is my first time dealing with file I/O and need help figuring out the best way to read in data and store it for further manipulation. I have a file that contains an individual's salary, and 3 product ratings on each line, such as: 75000 01 05 09
    What is the best way to store this data? I know how to use BufferedReader and how to tokenize each integer. I must write this program to deal with any number of lines in a file. There are three income brackets, and I must also be able to perform the following calculations:
    a) For each income bracket, the average rating for each product
    b) The number of persons in Income Bracket $50000-74000 that rates all three products with a score of 5 or higher.
    c) The average rating for Product 2 by persons who rated Product 1 lower than Prodcut 3.
    Thus far, I've written the following code to open the file and perform 2 reads to get the total number of lines (individuals) and the total number of inidividuals in each income bracket. It compiles, but I get a null pointed exception at StringTokenizer, for some reason.
    Please help! Do I need to take lines in as arrays? (tried this, but don't understand how to get at individual data) Do I need to somehow create objects for each person (if so, how?). My reference text covers this area poorly. Thanks for all help.
    import java.io.*;
    import java.util.*;
    public class Product_Survey
         public static void main(String [] args)
              int lineCount = 0;
              int inc1total = 0;
              int inc2total = 0;
              int inc3total = 0;
              String name = null;
              System.out.println("Please enter income and product info file name:  ");
              Scanner keyboard = new Scanner(System.in);
              name = keyboard.next();
              File fileObject = new File(name);
              while ((! fileObject.exists()) || ( ! fileObject.canRead()))
                   if( ! fileObject.exists())
                        System.out.println("No such file");
                   else
                        System.out.println("That file is not readable.");
                        System.out.println("Enter file name again:");
                        name = keyboard.next();
                        fileObject = new File(name);                    
              try
                   BufferedReader inputStream = new BufferedReader(new FileReader(name));
                   String trash = "No trash yet";
                   while (trash != null)
                        trash = inputStream.readLine();
                        lineCount++;
                   inputStream.close();
              catch(IOException e)
                   System.out.println("Problem reading from file.");
              try
                   BufferedReader inputStream = new BufferedReader(new FileReader(name));
                   String trash = "No trash yet";
                   while (trash != null)
                        trash = inputStream.readLine();
                        StringTokenizer st = new StringTokenizer(trash);
                        int income = Integer.parseInt(st.nextToken());
                        if(income<50000)
                             inc1total++;
                        else if(income<75000)
                             inc2total++;
                        else if(income<100000)
                             inc3total++;
                   inputStream.close();
              catch(IOException e)
                   System.out.println("Problem reading from file.");
    }

    Try adding a print statement to see what is happening in your second read loop:
                while (trash != null)
                    trash = inputStream.readLine();
                    System.out.println("trash = " + trash);
                    StringTokenizer st = new StringTokenizer(trash);Another way to read in a while loop:
                while ((trash = inputStream.readLine()) != null)

  • Problem with File Management in InDesign CS4 on Win 7 64-bit Machine

    I have Adobe CS4 and just today have encountered a new problem for which I have no solution. When I open InDesign CS4 and choose the Open File menu, and then attempt to change the way the menu diplays items (e.g., Details rather than Small Icons, ec.), the program crashes and I get the "Adobe InDesign CS4 has stopped working" error message. I first encountered this after attempting to open a folder containing InDesign CS file that I need to open and update. In *that* case, the program crashes as soon as I open that folder (from within InDesign). What I have done so far to solve the problem: I tried using Bridge to browse to the problem folder and open the files from there. Bridge does not crash when I open the folder, and I am able to open any file in the folder *from Bridge* into InDesign CS4. However, when I attempt to, for example, export text from the file, while it does not crash when the window (where I get to specify the name of the exported file and change its location [if I wish]) opens, when I attempt to change how the file menu is displayed (cf. my comment above), the program crashes. *However*, if I simply export the file to any folder other than the one the opening of which crashes the program, too, everything is fine. So the problem seems to afflict the one folder, and any attempt, in any folder, to change how the folder's contents are displayed in what amounts to InDesign's use of the Windows file manager function. Any thoughts would be greatly apprecatd.
    potterj

    Dear Peter,
          This is me (PottsJazz) under my (foolishly misplaced) original username (potterjazz) here on Adobe Fora. For various reasons, I decided to do a ground-up reinstallation of Windows 7 64-bit and Adobe CS4 and, initially, the ability to specify the way folders are displayed from within InDesign's own File Manager worked as it should. However, at some point as I went along installing all the software packages I use (Office 2010, Firefox, WordPerfect, some file converters, DVD/CD burning software, iTunes, etc.) the problem reemerged. I think it is probably a glitch with Windows 7 64-bit and one of my programs, but it is definitely not CS4's fault. I just have to create folders, specify folder display styles, etc., from outside CS4 and then maneuver within its programs to the folders and file locations from inside. It's a small price to pay for not spending days reinstalling software and testing testing testing. I'll let you know if I ever get a solution.
    potterjazz

  • Help with Project Management setup from very basics...

    hi all!
    i am new to e-business suite and now i have installed vision demo database successfully on a Quad Core with 320 GB hard and 4 GB ram...now i need help to setup Project Management (PM) module for a hypothetical construction company with the required functionalities (just limited functionalities and Not complete functionalities as in EBS).i need help in setting up Project Management module from the very basics...so can you help me out in this...thanks in anticipation

    Hi,
    Please post only once (do not post same thread across multiple forums).
    help with Financials setup from very basics...
    Re: help with Financials setup from very basics...
    Regards,
    Hussein

  • Help Customizing File Manager

    Hello,
    I am not sure if it is possible to do this. I really like mac and dreamweaver but the only thing I do not like is the way it mixes directory folders with and other files in alphabetical order. I am used to have directories above all the other files in my site structure the way windows does it. I know some software allow this change via settings in mac. Does anyone know if dreamweaver cs6 has a setting somewhere for that? Thanks.

    When you view the file manager, scroll across to the "Type" Column. Click the "Type" heading and it will sort it by folder or files. You may need to click it twice depending which one goes first.

  • Problem with file manager

    ok.. so i've downloaded the pc suite for my nokia 6280. it was working just fine a while ago. now its just stuffed up! first of all my music transfer for some reason wont transfer music anymore.. but what worries me most is that my file manager wont let me access the folders in my phone on my computer. so now i cant transfer anything from my pc to my phone. i click on file manager.. it lags.. then a message pops up and it says - "operation could not be completed" ..anyone else have this problem? i cant find a way around it. im also afraid it'll stuff my phone up. has anyone else had this problem?

    hi Neculai
    thank you for your reply .
    i look at "Knowledge management application log "
    but he is empty .

  • Help with CASE MANAGEMENT

    Hi Experts,
    I am working with Case Management, and I have to create Cases with all its specifications automatically. Anybody knows how I can create it? or Anybody have any suggestion or documentation to start with this.
    Thanks in advance.
    Regards,
    Beatriz.

    Hi,
    Easy transaction to Case Management customizing is SCASE_CUSTOMIZING. There you have an overview of the customizing of case management.
    Also carryon these steps one by one...
    Case Management Basic Settings :
    Define Number Range Intervals for Case
    Define Case Types
    Determine Permitted values for attribute
    Create values for "Category" attribute
    Create values for "Cause" attributes
    Create values for "Priority" attribute
    Create values for "Reason" for escalation attribute
    Assign escalation reasons to an attribute profile
    Create values for "Authorization level" attribute
    System Modifications
    Create status profile
    Create Text profile
    Create Text Ids
    Create Text Profile
    Define Logical system for external objects
    Enhanced System modifications
    Note About Enhanced System Modifications
    Define Processes
    Set up registry
    Create/Change Case Record Model
    Create Profiles
    Create attribute profile
    Create function profile
    Create terminology profile
    Create Activities for authorization check
    Activate application log
    Define processes
    Create/Change Case Record Model
    When u open the Transaction SCASE_CUSTOMIZING , there will be Registry Steps...
    Follow them step by step.
    For any queries reply.
    Regards,
    Eswari.

  • Help with Library Management - duplicate files, single develop settings.

    I use Lightroom 5 and local disk as my supposed master.
    I use GoodSync and an external drive as my backup.
    When I am traveling I use my Macbook and the external drive - and this has caused the following problem;
    Instead of just being a backup, my external drive is now a folder in Lightroom.
    The develop settings are associated with the files on that drive and I have duplicates through the synchronisation process that I run with Goodsync.
    Can I move the develop settings (All, Automagically) back to the files located on my local drive and remove the folder from Lightroom?
    I will manage my backup process differently.
    Or .. do I create a new catalog and import the files from ... the external drive first? Or the local?
    Possibly external to ensure I don't lose any settings?
    Any advice, especially if someone else has found themselves in this predicament, would be greatly appreciated!
    Thank you

    When using a Finder specifier you also need to include the startup disk.  There are a few different domains that the path to command will work with.  If you don't specify a domain, such as your first example, the assumption is that you want the user domain.  The /Library/Preferences folder is in the local domain so you can use the following command to get its path:
        path to preferences folder from local domain

  • Help with site management

    Hello
          New Be taking a course in   Dream Weaver  using cs6 version.   In  regards to any help having  two questions  please.   After saving a project.  Is  there a way I can copy the project over again  to have  as a second copy for any further purposes.  Where  my projects are stored under C Drive--   Users  --- Jon----A folder  I call  Dream Weaver and another  folder under that  Home Work.  
    The other question.  Is there a way I can  delete a project in recent items under Dream Weaver Sart page.  I've already deleted some work  going to Site on the application bar to open the Manage Site dialog box and deleted  there.  Though I can't open up any projects under recent items the files are there  in the start up page.  I would  just like to delete  them.   If anyone can help all of my work is in classic view.  Thank you kindly Jon.   

    I think that in order to get rid of the Recent Items on the Dreamweaver Splash Screen, you would have to empty its cache of what was last opened. Depending on what's stored in the cache, that could be dangerous. I recommend you ignore it.
    Besides, the "Open Recent" stuff changes in accordance with what you last opened. If you start working on a new website, that stuff will show up there.
    And, if you have undefined a site and deleted the stuff in the site, you have cleared it off your hard drive.
    As to copying stuff for later use, you can keep a second copy of your website anywhere you like and define that folder as a website by picking Site>New Site name the site and navigate to the local root folder for that site.

Maybe you are looking for

  • I bought a genuine apple digital av adapter and it only displays some videos from my iphone 4 to my tv

    I Can not get my iphone 4 to play through my tv with a genuine apple digital av adapter on just one video site. Does the av adapter support many video formats or not?? Please help

  • Naming files with non English characters.

    I'm using filemaker to creat PDF's through Acrobat 10.1.12. I need to use Polish, Hungarian, Czech and Slovakian characters in the file name but the characters are not recognised and so the file name will not create. This is for Windows, the problem

  • Ms-access to oracle 8i migration.

    Hi,all while useing Oracle Migration Workbench Release 10.1.0.4.0 i am facing prob.while Exporting my access database to xml i got following error. error#3270-XML EXPORTER-METHOD 'Run' of object _Application failed c:\migration\nsmini2.mdb databse sc

  • Time Capsule internet stall during backups

    Just started to happen recently but it looks like everytime the backup starts, my internet connection begins to stall. As soon as the backup is complete, my internet is working again. It's not like the backups are large sizes, not sure what's going o

  • Save for web won't save in CS5

    So, save for web worked perfectly when I installed CS5, until a couple of days ago, when I clicked the save-button in the save for web window and got this message: "Could not complete this operation. An unknown operating system error has occurred." I