Optimize File Layout

The response time on my friend's iMac is getting slower.  There are no obvious errors.  I was thinking it may be as a result of the internal HDD layout.
My friend has a large music and photo collection which he regularly adds to and they are stored on the same partition as the Mountain Lion OS.
Some partition stats:
321GB Partiton size
109GB Free space
114GB iPhoto library
  53GB iTunes library
I was wondering whether erasing the partition and restoring everything from the latest Time Machine backup would optimize the drive's layout.
I was also thinking this might be prudent to do before he upgrades to the Mavericks OS.

Well my friend bit the bullet and did a full restore of his system from the latest Time Machine backup.
Good news.  The restore went without a hitch and the restore process was very easy.  
His system is noticably more responsive.

Similar Messages

  • Help needed creating export file from a file layout with Application Engine

    The following is what I would like to do:
    - Read a record from a PS view
    - Manipulate the data as needed
    - Write the fields out to a file as defined by a File Layout
    - Repeat until no more records are found
    I have created the PeopleSoft Application Engine action listed below. It receives an error "BCUNIT is not a property of class File".
    Local Record &rec1;
    Local File &myFile;
    Local SQL &sQL1;
    /* Create instance of Record */
    &rec1 = CreateRecord(Record.W9M_MBSCRSE_VW);
    /* Instantiate the Output File */
    &myFile = GetFile("c:\temp\help_me.txt";, "A", %FilePath_Absolute);
    If &myFile.IsOpen Then
    If &myFile.SetFileLayout(FileLayout.TACOURIN) Then
    /* Create SQL object to populate rowset */
    &sQL1 = CreateSQL("%Selectall(:1) Where INSTITUTION = :2", &rec1, W9M_MBSCRSE_AET.INSTITUTION);
    /* Cycle through the records */
    While &sQL1.Fetch(&rec1)
    /* I know this section is not coded correctly but I'm not sure how to fix it */
    &myFile.BCUNIT = "1";
    &myFile.BCTCD = &rec.W9M_MBS_TERM_CODE;
    &myFile.BCTYR = &rec.W9M_MBS_TERM_YEAR;
    &myFile.BCDPTN = &rec.ACAD_GROUP;
    &myFile.BCCOUR = substring(&rec.CATALOG_NBR,2,5);
    &myFile.BCSEC = &rec.CLASS_SECTION;
    &myFile.WriteRecord();
    End-While;
    Else
    /* Process FileLayout Error here */
    End-If;
    Else
    /* Process File Open Error here */
    End-If;
    &myFile.Close();
    There are probably a lot of things wrong with this approach and if you could provide some guidance and/or  corrections to the above logic I would greatly appreciate it.
    Another approach?
    After doing a bunch of reading on Application Engine maybe my approach is incorrect. Perhaps I should be doing something like the following:
    - Read a record from a PS view
    - Populate a temporary table manipulating data as it is inserted (Temp table is named according to the file layout fields?)
    - Fetch the records from the temp table and write the record to the file layout.
    - Repeat until no more records are found
    Is this approach better and designed correctly? If not, could you recommend how it should be done? Would the population and reading of the Temp table be done in separate actions or within the same action? Do you know of an Application Engine program that can be used as an example with "like" processing?
    As you can probably tell I haven't used Application Engine before and my goal is to start out on the right path. Thank you for any direction and input that you can provide.
    Steve

    I did and my initial logic was based upon them. I don't see where it shows how to manipulate the data before writing it to the file layout fields. Maybe you can send me a link to that section?
    I was hoping that I would be able to reference the file layout fields directly to allow for manipulating the field values. Re-reading the file layout section and the application engine PeopleBooks I believe I need to create a temporary record which matches the file layout fields; i.e., the second alternative that I listed. Then, make my updates to the temp record fields as I load them. Then, load them to the file layout as a row.
    I'm not sure how this would break down in Application Engine; would the insert into the temp table and the writerecord be different steps/actions, etc.

  • PU12 - File Layout

    Hello Experts
    we are trying to use PU12 to send our wagetype amounts to our payroll provider, however we need to send them in a particular order
    Basically depending on the wage type the value will go into a particular position
    say final layout should be like this
    pernr,wage type amount 1001, wage type amount 1002,wage type amount 1003
    for example if we have 3 wage types
    in Infotype 0014
    1001 - amount $100
    1002 - amount $200
    1003 - amount $300
    our final layout should be like this
    11111111,100,200,300
    Is it possible to do it in file layout conversion by looking a lgart?
    Please let me know
    Thank you

    I resolved my own problem with a workaround.  I set it up as a user exit with a constant of 257.  Because it was supposed to be just "filler" blanks, the userexit simply just returned
    return = ' '.

  • PU12 File Layout:  Problem if Constant Length 28

    I am trying to modify an existing PU12 file layout to change a few fields and add some new ones.  I can change and add them as long as I don't put the constant length as > 28.  If I do I get this message:  "The field length for constant field contents can be a maximum of 28."
    The current layout has fields with a constant layout of > 28 though so I can't figure out why it will not allow me to put in a larger #.  As an expample, one of the existing fields has a constant length of 211 -- I need to change it to 257, but if I put anything > 28 I get this same message.
    I'm just starting to learn about the PU12 so any help would be most appreciated.

    I resolved my own problem with a workaround.  I set it up as a user exit with a constant of 257.  Because it was supposed to be just "filler" blanks, the userexit simply just returned
    return = ' '.

  • File Layout  add column

    Dear SDN,
    EP6.0 SP11
    I am in the process of KM implementaion and adding one column version to view the file.
    Name   size   rating    annecdote   modified  versioned
    when I look in file context details and able to see the file version. it shows current, 1,...
    now I want to display current value say 2 or 3 in file layout screen. I have added one column using presentaion but value is not appearing.
    Is there any setting is required to get the value?
    Regards,
    Sanjeev

    Hi,
    I gone through your requirement for the report. In the report selection screen -- Settings -- Input "Sort Variant " as 0010  .....(Co. code / asset class / location) this is SAP Standard delivery.
    This adds the column "location" as required. ..... so, there is not requirement here for additional ABAP coding.
    <<Text removed by moderator>>
    Thanks,
    Damodar
    Edited by: Matt on Jan 22, 2009 11:57 AM

  • Labview 2011 file layout in executable

    I am working on upgrading my projects from v8.6 to 2011. one thing i noticed was that the file layout in the built executable has been changed to treat the executable itself as the root directory of the code sources.
    To better address my problem, i would like to present an example as below:
    I have two projects, A and B, where B is built on top of A. Their paths are:
    C:\Workspace\ProjectA\source\Always_Included1.vi ...
    C:\Workspace\ProjectB\source\Always_Included2.vi ...
    in the built executable(ie. Application.exe) i found that all VIs were located under such as:
    Application.exe\Workspace\ProjectA\source\Always_Included1.vi ...
    Application.exe\Workspace\ProjectB\source\Always_Included2.vi ...
    Since the "Workspace" is just a variable name for one of my workspaces, I am wondering if it's possible to make the built executable to start with one level deeper, such as:
    Application.exe\ProjectA\source\Always_Included1.vi ...
    Application.exe\ProjectB\source\Always_Included2.vi...
    *notice that the "Workspace" has been omitted.
    Thank you.
    LabVIEW 2011 newbie >.<
    Certified LabVIEW Developer

    I don't think there's a way to really control this, as this is something which is done automatically by the application builder.
    A couple of options I can think of:
    Place the top level VI in a level above ProjectA and Project B. This might cause the EXE to consider that as the main folder and start from there.
    Check the 8.x check box in the Advanced page of the build settings. This will cause the build to be flat instead of a hierarchy, but I wouldn't recommend that, as that's basically a flag for backward compatibility.
    The real question is what's your actual problem? Most people don't care about the actual location of the files inside the executable. If you do need access to a specific file, using relative paths is generally enough, as they stay the same inside the EXE. Another option which people use to control this is to direct some VIs to be saved outside the EXE (the build spec allows you to do that), but that's usually for specific use cases, such as calling plugins.
    Try to take over the world!

  • 2008 1099 forms and file layout

    Has anyone heard anything from SAP on new file layout and forms for 2008 1099 reporting?   Note 1249174 states it is available 1st week in Dec.

    Hi Cintia,
    I attempted to implement the note via SNOTE.  I get the message 'cannot be implemented' probably because the attachment is a zipped file and not an R/3 object of some sort. I then downloaded the zip file to my desktop.  The zip file contains two .p6b files.  What txn do you use to import the files? SMARTFORMS?
    Thanks,
    Tess

  • Use LabVIEW 8.x file layout

    Hi there,
    From the LV help:
    Specifies to use a flat file layout to store source files inside a stand-alone application, shared library, or Web service. LabVIEW enables this option by default for build specifications you load from LabVIEW 8.6 or earlier. National Instruments recommends you disable this option for applications you develop in LabVIEW 2009 or later.
    Why shouldn’t I use the LV8.6 way?
    Or, why is the LV2009 or later method better?
    Thanks in advance for any reaction!
    Best regards

    Okay yeah the OO reason is a good one, but let me make a more basic example that I think is also a common one.
    Lets say I download some cool library from the tools network.  This library can do things like read and write .DOCX files (this is just an example).  This library contains VIs like "Open.vi" and "Close.vi".  Other libraries may also have "Open.vi" but they are part of a different library.  And in memory these names have the library appended.  So my VIs name in memory is actually "Cool Office Library.lvlib : : Open.vi".  This way LabVIEW can distinguish between the VIs that have the same name on disk, but are part of a different library.
    Now it should be obvious that the "Open.vi" from one library cannot exist in the same directory as another "Open.vi" even if they are part of different libraries.  Windows simply doesn't allow you to have two files of the same name, in the same directory.
    And this is where the file layout comes in.  In 8.x and older the layout was flat, putting all VIs needed for the EXE into a single directory.  This would mean attempting to put my office "Open.vi" in the same directory as all the other VIs.  In 2009 and newer this is handed by making an EXE that isn't a single directory, and instead it is layed out more or less like it is in Windows, where one "Open.vi" can exist in one directory, and another in another directory.  
    So if you choose the 8.x layout, and you have multiple "Open.vi" files, it will place them outside of the EXE without any block diagram.  This gets messy because now you EXE isn't the only file you need, you also need the support directory some times called "Data".  In the 2009 and newer layout all the VIs can be in the EXE in a nested directory structure.  Generally just don't use the 8.x layout unless you need to, and really you should need to.  Having that not checked helps fix naming collisions.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • [svn] 4137: Optimize Group layout invalidation.

    Revision: 4137
    Author: [email protected]
    Date: 2008-11-18 17:53:32 -0800 (Tue, 18 Nov 2008)
    Log Message:
    Optimize Group layout invalidation.
    This change adds two Boolean flags to track if Group?\226?\128?\153s layout is invalidated. This way whenever a GraphicElement?\226?\128?\153s invalidateDisplayList() is called, the Group won?\226?\128?\153t redo the layout, but only validate that particular GraphicElement?\226?\128?\153s display list. Similar for size. Also I removed unconditional updateDisplayList() while assigning GraphicElement display objects and instead invalidate only the GraphicElements that have their sharedDisplayObject reassigned (we were already invalidating when the exclusive display object is assigned).
    Additionally I added a small check in the stroke property change event handler to make sure we invalidate parent size & layout only when the stroke weight is changed, which minimizes layout passes for skin state changes, where states would change stroke color/settings.
    QE Notes: None
    Doc Notes: None
    Bugs: None
    Reviewer: Glenn
    tests: checkintests, mustella (gumbo/core, gumbo/layout, graphictags, gumbo/filters)
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as

  • Problem with file layout in File Reciever

    Hi,
    I am working with Idoc to File Scenario. I am getting a different layout when i am opening a file in notepad and wordpad.
    wordpad format:
    1 000000171620                SN           N                    F  F           
    3           PS7815003    1.000                                                 
    4                                                                               
    1 000000171720                SN           N                    F  F           
    3           PS7815003    1.000                                                 
    4                                                                               
    1 000000171920                SN           N                    F  F           
    3           PS7815003    1.000                                                 
    4                                                                               
    But in  notepad i am not able to see the value as above, instead i see the the values of different lines continous one after the other in a single line with some seperator as "|||"
    Can you please advise on this.
    Regards,
    Manoj

    Hi Manoj,
    check this
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter

  • NACHA File layout configuration

    An ACH NACHA file has the following components..
    File Header Record(1)
    This gain has many fileds like Record type code, priority code, immediate destination etc
    Batch header Record(5)
    Record type code, company Identification
    Entry Detail Record(6)
    Transactioncode, Check digit etc
    Addenda Record(7)
    Record Type Code...etc
    Batch Control Record(8)
    File Control Record(9)
    Batch Count, block count etc...
    Now This is the Layout which the company wants to implement
    The commpany is already using an ACH file for an old bank.
    But wants to implement a New Bank with a lil variation of old NACHA format
    In SAP where can I set these fields or parameters.....
    for some programs I can goto System->Status and double click on program and goto ABAP editor and change fields.
    But for this ACH where can go and set the parameters according to requirements
    There is actually one more requirement...
    In the ACH file The New banks wants the
    File Creation Date (It is entry in field no 5 of File Header Record(1) of ACH file)
    this date should be less than Effective Entry DAte (It is an entry in Field no 9 in Batch Header Record(5))

    Hi guys,
    I'm using RFFOUS_T program with F110 to produce ACH file.
    I was able to transmit file to the bank via batch process but bank said that they have received errors on the file.
    Where do you correct these changes on ACH file or in configuration ? Here are some of the errors that they have mentioned.
    ON THE "5" RECORD IN FIELD 03 (POSITIONS 05-20) RECORD NUMBER 000002           
       ACTUAL CONTENT->                                                            
    ERROR: COMPANY NAME MISSING                                                                               
    ON THE "5" RECORD IN FIELD 05 (POSITIONS 41-50) RECORD NUMBER 000002           
       ACTUAL CONTENT->                                                            
    ERROR: FIELD CANNOT CONTAIN ALL SPACES                                                                               
    ON THE "5" RECORD IN FIELD 07 (POSITIONS 54-63) RECORD NUMBER 000002           
       ACTUAL CONTENT->                                                            
    ERROR: ENTRY DESCRIPTION MISSING                                                                               
    ON THE "5" RECORD IN FIELD 09 (POSITIONS 70-75) RECORD NUMBER 000002           
       ACTUAL CONTENT->                                                            
    ERROR: INVALID DATE VALUE                                                                               
    ON THE "6" RECORD IN FIELD 08 (POSITIONS 55-76) RECORD NUMBER 000003           
       ACTUAL CONTENT->                                                            
    ERROR: CUSTOMER NAME MISSING                                                                               
    ON THE "6" RECORD IN FIELD 11 (POSITIONS 80-87) RECORD NUMBER 000003           
       ACTUAL CONTENT->00000000                                                    
       EXPECTED VALUE->05310156                                                    
    WARNING: ORIGINATING BANK ID NOT SAME AS "1" RECORD                                                                               
    ON THE "6" RECORD IN FIELD 11 (POSITIONS 88-94) RECORD NUMBER 000003           
       ACTUAL CONTENT->0000000                                                     
    ERROR: SEQUENCE NUMBER NOT GREATER THAN PREVIOUS NUMBER                                                                               
    ON THE "8" RECORD IN FIELD 07 (POSITIONS 45-54) RECORD NUMBER 000004           
       ACTUAL CONTENT->1931175150                                                  
    WARNING: COMPANY ID NOT SAME AS "5" RECORD ID NUMBER       
    Thanks in anticipation,
    Manoj

  • Two issues: Runtime error when trying to Reduce Size or Optimize File. And navigation in some files is VERY SLOW.

    I haven't figured out if there is a pattern here, as of yet.
    This happens with larger files (1500 pages and so forth) and not all the time. 
    - Bookmarks may take up to 4-5 seconds to go to its page.  Scrolling up and down pages is just as painfully slow.
    Even when I break the big file into smaller sections, the navigation remains slower than molasses.  
    - When I try to Optimize certain files, or Reduce their size, I get a Runtime Error. I have disable the Updater (I read this could be an issue) but that made no difference.  I have also broken the larger files into 2 or 3 pieces.  One of the pieces may work out well (I can optimize and so forth) but the other(s) may not.
    Thank you.
    PS: I use Windows XP Pro, Service Pack 3.  I have requested an upgrade (several times) but my wishes are not their command, I am afraid.

    HI ,Thanks for your response. That was an error in the code I posted, but wasn't the error I was trying to solve. Once correcting that error you pointed out I am getting the problems not when I send a plain text email like:
              if(!sendmultipart)
                 // send a plain text message
                 msg.setContent(msgText, "text/plain");
              }but when I try and send multipart messages doing this:
              else
                 // send a multipart message// create and fill the first message part
                       MimeBodyPart mbp1 = new MimeBodyPart();
         mbp1.setText(msgText);
          // create and fill the second message part
         MimeBodyPart mbp3 = new MimeBodyPart();
         // attach the file to the message
         FileDataSource fds = new FileDataSource(soundfile);
         mbp3.setDataHandler(new DataHandler(fds));
         mbp3.setFileName(fds.getName());
                       Multipart mp = new MimeMultipart();
         //adds the text to the message
          mp.addBodyPart(mbp1);
          //adds the attachment to the message
          mp.addBodyPart(mbp3);
           // adds the content to the message
          msg.setContent(mp);
         }So i get the error when executing the else branch.
    Can you spot any errors here? I get the same error as mentioned earlier.
    Thanks a lot,
    Jess

  • Save for Web with Optimize File Size for Batch Process

    I have a client who needs to be able to run a batch process on jpg images ranging in size from 600KB to 2.5MB optimizing their file size as close to 200KB as possible. The feature is included in Photoshop's save for web optimize dialog but it doesn't work for batch processes. If you record an action with the optimize to file size option set it processes all the images in the batch based on the quality settings required to resize the image you used during recording, meaning if the image you recorded was 1.5MB the quality setting might be 70 percent to hit the 200KB mark but that wouldn't be the correct quality setting for a 600KB file nor a 2.5MB file those would either be too small or too large.
    I've done quite a bit of searching both online and in the photoshop scripting forums but I haven't been able to find anything that would point me in the right direction.
    My client's paying for this work so if there's someone who knows how to script this who'd rather be paid than just do some pointing we can arrange for that quite easily.
    Thanks in advance for your assistance and suggestions.
    In case it's of importance we're using Photoshop CS4.

    If you don't mind spending a few bucks on a shareware prog, Jpegsizer has the option to save to a filesize.
    You can find it here.
    http://www.tangotools.com/jpegsizer/register.htm
    There is a free trial version, but you can't save files.

  • Hi Everyone, I want implement multi-file layout by XI.

    This is simple scenario. but, I didn't get the idea how to design.
    This is RFC to File Scenario.
    RFC has headers and items. like under function,
    ZABC_FUNCTION
      TABLES
         T_HEADERS
         T_ITEMS
    But I want make the file. like this,
    H,1,ABC
    I,2,1,100
    H,1,BCD
    I,2,1,5
    H,1,KKK
    I,2,1,43
    I,2,2,20
    over layout means,
    Header character identity, Number identity, Header Description
    Item character identity, Number identity, Item Sequence Number, Item Quantity
    RFC data is :
    HEADERS
      ABC
      BCD
      KKK
    ITEMS
      ABC,100
      BCD,5
      KKK,43
      KKK,20
    so, I know that using file content conversion. and read the online document. and I search this sdn homepage like forums, Blogs, and Help.
    But I don't know how to.
    So I will wait your good answer. Thank you.
    Best Regards,
    John

    Hi,
    there are a few ways you can do it
    one would be to use a BPM and inside your message mapping
    create one message per header (1:N mapping) - (one for ABC one for KKK)
    then inside file adapter use append mode and all messages
    will append to the file (starting with header and then lines)
    and you will have a structure as you've specified 
    Regards,
    michal

  • Combining multiple SWFs into one then optimize file size

    I am new to Flash and have been asked to combine six
    different SWF files into one. What is the best way to do this? This
    seems like the file size would blow up. Can anyone share some
    thoughts on how to optimize the final file size so that it is
    managable?
    Thanks

    Ok I will take the last question first, since that is probably the easiest.end
    A merged file or a flattened file is the same thing as a composite.
    A merged file still has its transparency and data that is outside the canvas area.
    A flattened file is a merged file that is converted to a background layer that does not support transparency or data outside the canvas.
    A composite can be a merged copy of the existing layers if you use the multiple key strokes I mentioned above. Whereas a merged file is a composite of the original layers. So I personally use the term composite to mean a copy as merged and flatten already explain that process, no need to give them an additional term to mean the same thing.
    Generally blend modes work by selecting individual layers before changing the blend mode. However you can group the layers or convert them to a smart object and apply a blend to that group or object.
    Normally you set the blend mode as you work on each layer. But you could set all of them to overlay or reduce the opacity to 30 or 50 percent to see through all the layers, then adjust them later on.
    I am not sure how it works on the mac, but on windows you can select the blend text box then use the up and down arrow keys to change the blend mode to see how it looks.
    I recommend that you go through the free videos on layers, masks, opacity, and layer styles. This will help you dramatically. Also a few books on the subject will help has well.
    (free)
    http://creativesuitepodcast.com/
    http://kelbytv.com/
    http://tv.adobe.com/
    http://www.youtube.com/
    (pay)
    http://kelbyone.com/
    http://Lynda.com

Maybe you are looking for