Recombine files into a single file, using terminal? (or other)

Hi all
I have some files that are really one file, but are split into multiple parts as they're coming from a FAT drive. I know in Windows you can do something such as
copy /b file.ext.* file.ext
Is there something similar on the Mac side?

I think you can do this with BBEdit or BBEDit Lite.
The free Lite is no longer available.
You can get a fully functioning 30 day demo from:
http://www.barebones.com/products/bbedit/demo.html

Similar Messages

  • How to recover trash emptied docx file using terminal!! please help, many recovery software doesnt work!

    i accidentally deleted a .docx file today and emptied it in the trash!! i tried to use softwares like iskysoft,stellar,wondershare, but none can find the required file! I also tried to use terminal to recover my file by typing --> Tserings-MacBook-Pro:~ tseringdorjee$ mv .Trash/OS copy .  but ended with
    mv: rename .Trash/OS to ./OS: No such file or directory
    mv: rename copy to ./copy: No such file or directory
    where OS copy is the name of my .docx file! i also tried to put .docx after the file name, but it doesn't work too!
    so, please help!!!

    If you placed the file in the trash and emptied the trash and recovery software is unable to get the file back, I'm afraid it is gone.
    You will have to resotre from backups if you any,  or else try sending the drive to a commercial data recovery outfit. But it will be very expensive and the likely hood of a better outcome is not high.
    regards

  • Saving the terminal output to a file using terminal 1.50(133)

    My friend is using a older MacBook and is trying to save all the output of the program they are running, but their version of terminal only saves the last 10000 lines. I was wondering would I use the "tee" or "script" command?

    Hi,
    Assuming you mean the program they are running is being run from the Terminal, then just do something like this:
    myterminalcommand > ~/Desktop/myoutputfile.txt 2>&1
    The 2>&1 at the end redirects messages sent to stderr to the same location as stdout so you should capture everything in the file.
    If you want to run the program multiple times, the '>' will overwrite the output file. To append to the same filename, use '>>' instead.

  • Can I receive emails from 2 different addresses into a single account using TB?

    I want to combine all emails from both addresses into a single account in TB.
    I have already tried adding the 2nd account using "Manage Identities" but it did not work for me. The default is gmail and the 2nd is not.

    Can you explain this?
    I found this on Mozilla site. But, in my updated TB, i can find no such thing as a "root" folder that shows all incoming emails. only the "Child" folders show.....
    '''Unified Folders'''
    Unified Folders (originally named Smart Folders when it was added in 3.0) is a folder pane view which looks like a global inbox account by merging the contents of all inbox folders (both POP, IMAP and local folders) from all accounts. It also shows the inbox of each account as a child folder of the unified Inbox account. Any messages in an inbox shows up in both the root of the unified Inbox, plus the child folder of the unified Inbox for that account.
    Each account still displays any child folders of the inbox, only its inbox folder has been "moved" away from the account. This does not, however, change where and how messages are stored. In other words, Unified is just another way to view your folders, similar to what you can do with a saved search (a type of virtual folder).
    Use View -> Folders -> Unified Folders to select it. If you don't want to use it, use View -> Folders -> All Folders to select a more traditional display. Thunderbird 10 eliminated the ◄► arrows at the top of the folder pane that you could use to cycle between different views.

  • Scripting Selective XML into a Single Text Frame? (& Some Other Stuff...)

    Hi all, I could use some help (using version CS5.5).
    I want to import (via Javascript) an XML file similar to this:
    <movieRoot>
         <dvds>
              <movie>
                   <title>2001: A Space Odyssey</title>
                   <edition>Special Edition</edition>
                   <features>NOTHING</features>
                   <notes/>
              </movie>
              <movie>
                   <title>Airplane!</title>
                   <edition />
                   <features>Extra Laughs</features>
                   <notes/>
              </movie>
         </dvds>
    </movieRoot>
    I've been able to successfully do this, so no problem there.
    Then I want to dump the child elements under the XML element "<dvds>" into a single text frame that spans 2 columns per page. That's easy enough too, except:
    1) I want to filter the data so that empty elements or whose contents equal "NOTHING" do not appear.
    2) I want to add static text title above some of the elements that remain (outside the XML proper).
    3) Then I want to format the text (using Paragraph Styles).
    Tall order, I know, but I'm keen on figuring it out. I initially created a document using placeholders and used the standard XML Import to populate it with data, which was filtered using scripts to remove extraneous placeholders and static text. It gave me the result I wanted, but as the XML will be regularly updated and since the "filtered" tags result in non-standard XML entries, it means starting over from scratch after every XML update. So I turned to scripting...
    For point #1, I was able to filter properly using a recursive IF statement, tested here using message alerts:
    I've included a bunch of variables for (hopefully) easier viewing.
    var myXMLRoot = myDocument.xmlElements.item(0);  //movieRoot
    var myXMLParent = myXMLRoot.xmlElements.item(0);  //dvds
    var myXMLElement = myXMLParent.xmlElements.item(0);  //movie
    var currElement = myXMLElement.xmlElements.item(0);  //title
    for (i = 0; i < myXMLParent.xmlElements.length; i++)
        myXMLElement = myXMLParent.xmlElements.item(i);
        for (j = 0; j < myXMLElement.xmlElements.length; j++)
            currElement = myXMLElement.xmlElements.item(j);
            if (currElement.contents != "" && currElement.contents != "NOTHING")
                alert (currElement.markupTag.name + ": " + currElement.contents);
    It worked great until I tried to get it into an existing text frame. Since I want all the info in one text frame, placexml was out of the question, and markup worked but overwrote XML tags -- such as assigning the entire text frame to <movie/title> when I wanted it assigned to <dvds> with <movie/title> tags nested within it.
    If you can help me with anything, this is really where I need pointed in the right direction most. But if you're feeling generous or bored...
    Then for points #2 and #3, I want to take what's left ("filtered" XML data) and add additional text and formatting wherever certain tags are found.
    For example, applying the paragraph style "MovieTitles" for any text within <title></title> XML tags; or adding the phrase "Special Features" (with paragraph style "Headers") above any text marked with <features> tags, while the content within those <features> tags applies the paragraph style "NormalText."
    I've got some of this worked out in pieces already, but it generally falls apart because I can't get the tag structure correct in the text frame. I can provide more info as requested. Any help would be mighty appreciated!
    UPDATE: Surprisingly, I've actually had some good success this evening on solving most of these problems. I'll post my results once I've finished up just in case anyone else can be helped by what I've learned.
    One question remains for the moment: I've inserted text within an XML element, but outside of XML tags (e.g., </title>EDITION:<edition>) using "insertTextAsContent":
    [xmlElementHere].insertTextAsContent("EDITION:", XMLElementPosition.beforeElement); 
    Does anyone know a good way to apply a paragraph style to that text without using a find & replace function later (after placing the XML into a text frame)?

    As posted into the other thread:
    Yes, each record will be in its own frame.
    You can use one of a couple solutions to stitch (link) each frame to the other, delete all but the first page and the first merged record, then resize that first merge frame and reflow the entire document.
    https://forums.adobe.com/thread/1341730?start=0&tstart=0
    Please review this thread. There is a couple posts with a script and you would want the last version of that script. You would have to follow the directions, as well as add a column at the beginning of your data and fill it with consecutive numbers.
    Alternatively, there is a free plug-in by Rohiko for stitching merge data frames together, then follow the process above to reflow the document.
    https://www.rorohiko.com/wordpress/indesign-downloads/textstitch/
    Mike

  • Why can't I change the Created Date on a file using Terminal?

    I bought a used Contour helmet camera to take pictures of the kids while they're skiing, and I cannot access the camera itself to change the clock in it (USB port is broken).
    I get videos from it just fine, but every time I remove the battery the date/time on the camera resets to January 2008, so my skiing videos end up someplace completely different from what I expect in iMovie.
    I thought I could change the Created Date with Touch in Terminal, but it only handles the Modified Date.  I know I can purchase File Date Changer 5 from the App Store to do this, but I'd like to know why I can't do it in Terminal.
    Anybody know?  Or know of a different way that I COULD do it in Terminal?

    pessex wrote: Anybody know?  Or know of a different way that I COULD do it in Terminal?
    Don't know about Terminal, but, because you are using 10.9.x and iMovie, try the iMovie method:

  • Batch file using terminal HEEELLLLPPP

    All i want to do is make a batch file, make it run a .jar file with this command
    java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
    This basical runs the file wich is a server with more ram
    But i have made a batch file and no matter wich command, even (ls) will not work, please someone, i just need a file that will execute commands like a batch file on windows, you click it and it does what ever is in the codes.
    So basicaly, i need it to a find directory using cd then run the command given. but nothing works.

    wiinick100 wrote:
    so my file icon says shell, and it has these lines in it
    #!/bin/bash
    cd desktop
    Even this simple command does nothing, i have also tried ls, and say, and also a bagillion other commands but it only gives me this error
    I do not think you have had enough time to enter a bagillion commands
    Last login: Tue Dec 14 13:04:09 on ttys001
    Imac:~ name$ /Users/lenzini/Desktop/hello.command ; exit;
    /Users/name/Desktop/hello.command: line 1: {rtf1ansiansicpg1252cocoartf1038cocoasubrtf350: command not found
    /Users/name/Desktop/hello.command: line 2: syntax error near unexpected token `}'
    /Users/name/Desktop/hello.command: line 2: `{ onttbl 0 modern charset0 Courier;}'
    logout
    [Process completed]
    whats wrong
    I do not know what is in your hello.command file, but it very much looks like there are lines such as
    {rtf1ansiansicpg1252cocoartf1038cocoasubrtf350
    I do not know what that is doing there, but is is not something the shell knows how to execute.
    I also made a new file, and now its saying i dont have the privileges.
    Did you make the file executable using the "chmod +x filename" command?
    Maybe you could post your script so we can analyze it. When you do this, put it between a pair of tags so that the forum software does not mess with its contents and steal some of the characters as formatting meta-characters
    ... Your script here ...
    {code}

  • Copy files using Terminal

    I have my Windows XP computer and my Mac connected. I would like to copy files from my Windows HDD to the Mac HDD with the help of terminal. I just know a few things here, "ls /Volumes" to view the Mounted Volumes and "cp" is to copy.. I need a specific command to place it in a path..

    Terminal and Unix oriented commands are best asked in the Mac OS X Technologices -> Unix forum
    <http://discussions.apple.com/forum.jspa?forumID=735>
    And you want
    man cp
    man ls
    That should get you going. I'm assuming that since you mention /Volumes, that you already have the Windows share mounted on your Mac.

  • How to create zip files using Terminal?

    I don't know much about Terminal, but I need to compress a folder from one external hard drive directly to my Time Capsule and split archives to 4GB each. What is the command to do that?

    zip
    http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/ man1/zip.1.html
    zip -s 4g -r archivename directoryname

  • Can I covert multiple Word Documents into a single PDF using Acrobat Pro

    I'm using Acrobat Pro X version 10.1.10...I'm trying to select multiple Word Document files  (Mac Version 14.4.3) but when choosing the files, Word Documents I cannot select them as a convertible file format. If I drag them into the conversion box it says they are not a recognised file format....any ideas?

    Can you open any WORD file in Acrobat? If not, it is likely a limitation of Acrobat on the MAC. On the PC, you can simply use the Combine option in the file menu to create a new PDF. The conversion of the WORD document uses the PDF Maker option installed in WORD that must work, but this is the same process as opening a DOC or DOCX file directly in Acrobat. There are limitation with the compatibility of various versions of OFFICE and Acrobat that could be another issue you are having, but I don't know the combinations for a MAC. This only gives you some thoughts to consider. Some of the MAC users may be by later to give further thoughts.
    The alternative is to create a PDF for each of the WORD files and then use the combine feature to combine the PDFs.

  • Error combining Power Point 2007 files into a single pdf (Acrobat 11)

    Hi,  Am running Acrobat 11 and am getting an error when attempting to combine files.  Trying to combine multiple power point 2007 files into a single PDF using Acrobat 11.  Am getting an error "unable to find Adobe PDF resource files.  Do you want to run the installer in repair mode".  If choose yes or no I get the yellow error icon beside the PP files and eventually have to cancel the job.
    Any help would be greatly appreciated.

    Hi,
    Please see http://helpx.adobe.com/acrobat/kb/error-unable-create-pdf-resource.html
    Try the suggestions mentioned in this KB doc.

  • Generate Excel File using Java

    Hi,
    could any one tell me how can I create an Excel file using java. I can create the file using PrintWriter and other IO classes. But how do I insert the data in to different cells and rows.
    Any help would be greatly appreciated. Thanks in advance for your help,
    -MS

    Dear All,
    There are three ways for achiving excel operations using java including excel to xml etc.
    1. There is a very effective tool available for this operation is "jexcel". You can find it at http://www.andykhan.com/jexcelapi/index.html
    2. Jakarta site has provided a very good tool by name jakarta poifs. one can find at jakarta site.
    3. One can develop a very effective tool by combining these above tools togather.
    The operations that can be performed are read, write, convert etc for excel. The major attraction of Jexcel is excel to xml conversion.
    Regards,
    Nishant Kulkarni
    Software Engineer
    [email protected]

  • Scan multiple pages into a single PDF document?

    How can i scan multiple pages into a single multipage PDF file?
    I've seen similar questions posted, but I haven't found any good answers. The only advice i saw was to scan each page as a separate PDF document, then merge them into a single PDF using third-party software.
    Obviously, i don't want to have to do that.
    I can't believe that there really is no way to do it using the existing HP print/scan utilities provided with the hardware.
    My printer/scanner is the "HP Photosmart 5514 e-All-in-One Printer - B111h", and i'm running Vista (64-bit) on an HP Pavillion notebook.
    This question was solved.
    View Solution.

    Hi,
    From the HP Scan software (Start > Programs > HP > HP Photosmart 5510 Series > HP Scan) select PDF and ensure the resolution is 300 DPI or lower.
    Ensure the Show Scan Preview option is checked and click on Scan.
    Once scanning the first page completes, place the next page on the glass and click the plus button below the scan preview...
    Once you are done click on Save.
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How can I back up photos from iPhoto using terminal?

    Can I backup my photos from iPhoto using terminal or any other way(to a portable hard drive) as I have turned my laptop on and it has came to a screen giving me the option to back up from time machine, reinstall IOS or clean my drives, but neither are working so I believe I am going to have to erase my whole hard drive and potentially get a new one, but my only problem is that I haven't backed up my iPhoto images before so is there anyway I can do this?

    You are booted from Recovery Drive. Have you tried restarting so you boot normally?
    See these articles for using terminal to move
    http://apple.stackexchange.com/questions/80316/how-can-i-use-terminal-to-copy-al l-files-of-a-certain-type-from-a-failing-hard-d
    http://macmost.com/using-terminal-to-copy-files.html
    How do I move my Home folder to a separate hard drive using terminal.ff

  • How to concatenate two colums into one single column

    I need some ideas to concatenate two different columns into one single column using a set of distinct values.
    For Example,
    Customer Product Number
    xyz A 1
    xyz B 2
    xyz B 1
    AAA C 7
    AAA A 1
    The result should look like this,
    Customer Value
    xyz A1 B2 B1
    AAA C7 A1
    How would I group this into once value ?
    Thanks in advance ...

    Tom's discussion of writing your own aggregate routines
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:2196162600402
    starts off with a link to the 8i alternatives
    "see
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:229614022562
    for 8i methods (not aggregates)"
    Unforutnately, it's a lot more work in 8i.
    Justin

Maybe you are looking for

  • UPS and shutting down servers

    Not sure if this thread should be better posted at the OS X Server forum, but let's try it Today I found the time to connect the UPS to our XServe via USB. It worked great, the UPS appears at ServerMonitor and also at the system preference panels ene

  • Looking for a list of Video Transitions(not effects)

    Hello, I'd really like to find a list of Transitions similar to this list so that I can print and study it. Make note, etc. There doesn't seem to be an equivalent. While this one implies that it deals with Transitions it really only has the transitio

  • Custom Stamp Name Display in Acrobat X?

    Our organization relies heavily on the usage of the Stamp tool, we have over 100 custom stamps created which enables us to be a paperless environment.  Here's the problem, in the new Acrobat X, Adobe removed the "names" of the custom stamps in the dr

  • Laptop display doesn't turn on

    Hi, I have bought HP 430 notebook laptop about 3 years ago. Suddenly today when I tried to start my laptop, the laptop does start but display is complately off. I tried force shutdown by pressing and holding the power button. then I removed the bater

  • Customer Email Address

    Hi All, I need to fetch the email address of the destination customer in case of an Internal Order. Could anyone provide the tables and joins for this. Let me know in case anyone needs more info.