Rename files in Terminal using mv and sed

I want to rename multiple files (in one directory) using mv and sed in Terminal (Mac OS 10.6.8).
I want to change each and every file name from IMG_nnnn.jpg to HVAC_nnnn.jpg, where nnnn is the camera's sequence number. I want to preserve the sequence number and the jpg extension while changing only the file name prefix (the part before the underscore).
Here's what I tried:
macatony-2:HVAC ctossc$ ls -d *.jpg | sed -e 's/.*/mv -f & &/' -e 's/IMG/HVAC/' | sh
This is the result:
mv: rename HVAC_0205.jpg to IMG_0205.jpg: No such file or directory
I wanted "rename IMG_0205.jpg to HVAC_0205.jpg".  The arguments to mv seem to be reversed, so the mv command can't "rename" (or delete) the HVAC* file before it is created.
Any suggestions?

I still wonder however, why my original code reversed the order of the mv arguments. Knowing that would make my earlier failed attempts a learning experience.
1st) nbar's 'for' loop is the best in my opinion
Why your script got things backwards.  lets break it down
ls -d *.jpg | sed -e 's/.*/mv -f & &/'
generates:
mv -f IMG_1.jpg IMG_1.jpg
mv -f IMG_2.jpg IMG_2.jpg
mv -f IMG_3.jpg IMG_3.jpg
mv -f IMG_4.jpg IMG_4.jpg
mv -f IMG_5.jpg IMG_5.jpg
mv -f IMG_6.jpg IMG_6.jpg
mv -f IMG_7.jpg IMG_7.jpg
mv -f IMG_8.jpg IMG_8.jpg
mv -f IMG_9.jpg IMG_9.jpg
ls -d *.jpg | sed -e 's/.*/mv -f & &/' -e 's/IMG/HVAC/'
generates:
mv -f HVAC_1.jpg IMG_1.jpg
mv -f HVAC_2.jpg IMG_2.jpg
mv -f HVAC_3.jpg IMG_3.jpg
mv -f HVAC_4.jpg IMG_4.jpg
mv -f HVAC_5.jpg IMG_5.jpg
mv -f HVAC_6.jpg IMG_6.jpg
mv -f HVAC_7.jpg IMG_7.jpg
mv -f HVAC_8.jpg IMG_8.jpg
mv -f HVAC_9.jpg IMG_9.jpg
because when the -e 's/IMG/HVAC/' executed, it changed the 1st occurance of IMG, which was the IMG following the -f
I personally do not use 'sed' anymore except for some really trivial stuff.  If I need to general messing with a list or the contents of a file I use 'awk' or 'perl', both of which are a bit easier to work with and for me to read afterwards.  But if you really wanted to fix the 'sed' you could have used:
ls -d *.jpg | sed -e 's/IMG\(.*\)/mv -f & HVAC\1/' | sh
HOWEVER, I would not really use either 'awk' nor 'perl' for this task.  I would use something similar to what 'nbar' gave you (although I might have over complicated mine some more where as 'nbar' kept it simple and easy to read
Message was edited by: BobHarris

Similar Messages

  • Can the "mode" tag in vhost.xml file be edited using getconfig() and setconfig()?

    can the "mode" tag in vhost.xml file be edited using getconfig() and setconfig()?

    You can create client and have following code in it: (But before that Admin Server is running on the machine which you want make edge server programatically)
    var admin_nc = new NetConnection();
    sendCommand.enabled = false;   // where sendCommand is button on stage with "sendCommand" as instance name
    admin_nc.onStatus = function(info) {
    if (info.code == "NetConnection.Connect.Success")
    sendCommand.enabled = true;
    sendBtn.addEventListener("click", callAdminAPI);
    function callAdminAPI() {
    admin_nc.call("setConfig2",new Result1(),"Proxy/Mode","remote","Adaptor:_defaultRoot_/VHost:_defaultVHost_");
    function Result1() {
          this.onResult = function(info) {
    if (info.code == "NetConnection.Call.Success" ) {
    admin_nc.call("startServer",new Result2(),"restart"); // you can might as well use restartVHost
    function Result2(){
    this.onResult = function(info) {
    if (info.code == "NetConnection.Call.Success" ) {
    trace("Server started successfully);
    admin_nc.connect("rtmp://<your Edge Server IP>:1111/admin","admin","admin");  //here admin/admin is userid/password of Admin of server

  • Worked example using 'patch' and 'sed' to make a pkg

    I would like this to be reviewed, please. The methododology may need to be standardized a bit more. Also, of course, the way I have used scripts may be a bit controversial. Certainly, anyone who knows what they are doing could easily do without these scripts, but maybe also they are stepping stones to acquiring that sort of proficiency! Also, I would not rule out that the PKGBUILD, itself, can be criticised/ improved with guidance.
    Introduction
    Here is a method for creating patches for Makefiles which uses sed to convert #PREFIX# to $Startdir/pkg in literal path form, so that the build is fully portable. I asked a while back on the forum whether this was possible. Xentac held my hand, while I picked up the method from him. What follows also incorporates some of his cautions about retaining md5sum integrity. (A point about which I earlier had a weak understanding!) My thanks also to dp who sorted me out on the use of $pkgname and $origname.
    Description
    The PKGBUILD method is an example of automation, which these scripts follow in that variables are assigned values and then a template-like feel follows on. Despite this resemblance, you will need to make these two files executable by applying
    $ chmod +x FILENAME
    You will need to execute them in a terminal with the commands
    $ cd YOUR_WORKING_DIRECTORY_PATH
    $ ./Makefiles_ready
    or
    $ ./PATCHMAKER
    This will all work under fakeroot, provided the files have 'user users' permissions. The attached scripts are annotated examples; and enough is provided so that the reader can fabricate his/her own Makefile_new and test out the method for his(her)self.
    I reckon this might be useful practice for learning the technique. I need to mention that for full functionality postfix needs to be installed and set up so that sendmail can work, but a lot of the functionality can be tested without doing this.
    The command for starting the application is
    $ FaxMail
    You can, of course, run it for testing purposes from $startdir/pkg/usr/bin. Note the distinction between $origname and $pkgname, which you will see in the following files.
    Getting Directory and Files Ready
    You could start by making a new directory in $HOME, possibly called 'TESTBED' and by creating empty files named as per the following, ready for copying and pasting. It could also be useful to create a file called HOWTO and paste these notes into it. You will then need to check the 'user users' permissions and to make the two new scripts exucutable.
    Then, you are ready to roll -- completing the whole process with a straight 'makepkg' in the terminal.
    File Contents
    Makefiles_ready
    #! /bin/sh
    # Makefiles_ready... generates two clean copies of the Makefile.
    origname=FaxMail
    pkgver=2.3
    ### RESULTS:-- two appropriately named copies of clean Makefile.
    ### 'Makefile_new.scratch' is so named as a safeguard against
    ### inadvertently overwriting any earlier 'Makefile_new'. So, if you just
    ### want a clean 'Makefile_pristine' with which to make a new patch,
    ### delete the generated 'Makefile_new.scratch'.
    ### REQUIREMENTS:-- Either a downloaded and compressed source file
    ### in the main directory, and appropriate source array in PKGBUILD.
    ### Or just the latter.
    ### NOTES: If there is already a ./src_old, it should first be deleted by
    ### hand. If there is already a $pkgname-$pkgver.pkg.tar.gz, it will need
    ### to be removed or deleted. This script will produce a failed make
    ### but will produce the results we are looking for.
    mv ./src ./src_old
    makepkg -o
    # downloads and extracts files; does not build.
    cp ./src/$origname-$pkgver/Makefile Makefile_new.scratch
    cp Makefile_new.scratch Makefile_pristine
    echo ">> When and if ammended, Makefile_new.scratch "
    echo ">> needs to be renamed as Makefile_new. If you do this"
    echo ">> and you want to retain your earlier Makefile_new, you "
    echo " should first rename it to something like Makefile_prev_new."
    PATCHMAKER
    #! /bin/sh
    # PATCHMAKER... makes a patch file
    origname=FaxMail
    pkgname=faxmail
    pkgver=2.3
    ### RESULTS:-- $pkgname-$pkgver.patch; md5sums
    ### REQUIREMENTS:-- Clean Makefile_pristine; Edited Makefile_new;
    ### PKGBUILD ammended to include $pkgname-$pkgver.patch in source array.
    ### '#PREFIX#' stands in for '$startdir/pkg' -- see the sed command
    ### in PKGBUILD which inserts the required literal path, prior to making
    ### for real.
    ### It is a good idea to look at the patchfile produced here, and checkout by
    ### eye that the lines set for deletion are really from the Makefile_pristine.
    ### The two scripts have worked consistently, according to my tests.
    ### Makefiles_ready can be used to ensure you have clean makefile copies
    ### to start from.
    diff -aur Makefile_pristine Makefile_new >$pkgname-$pkgver.patch
    makepkg -go
    ## tests sources and produce md5sums; does not start the build process.
    echo ">> Check $pkgname-$pkgver.patch"
    echo ">> If it is OK, paste md5sums into PKGBUILD"
    PKGBUILD
    # $Id: PKGBUILD, $
    # Maintainer:
    origname=FaxMail
    pkgname=faxmail
    pkgver=2.3
    pkgrel=1
    pkgdesc="A front end for sending faxes via email."
    url="http://wol.ra.phy.cam.ac.uk/FaxMail/"
    depends=('tcl' 'tk' 'imagemagick' 'postfix')
    makedepends=('tcl' 'tk')
    conflicts=()
    replaces=()
    backup=()
    install=
    source=(ftp://sunsite.unc.edu/pub/Linux/apps/serialcomm/fax/$origname-$pkgver.tar.gz
    ./$pkgname-$pkgver.patch)
    md5sums=('55dc96aee65ccd3bee2ec38bb6ca0ffd' 'b419add4472576a2a4fc4272e8c7da48')
    build() {
    cd $startdir/src/$origname-$pkgver
    patch Makefile $startdir/src/$pkgname-$pkgver.patch
    sed -i "s%#PREFIX#%$startdir/pkg%g" Makefile
    mkdir -p $startdir/pkg/usr/bin/ $startdir/pkg/usr/man/man1/
    $startdir/pkg/usr/info/
    make
    make install
    faxmail-2.3.patch
    --- Makefile_pristine 2004-08-21 20:12:23.000000000 +0100
    +++ Makefile_new 2004-08-20 12:28:29.000000000 +0100
    @@ -3,19 +3,19 @@
    # where can I put the FaxMail wrapper and the tryfax executable
    -INSTALLBINPATH = /usr/local/bin
    +INSTALLBINPATH = #PREFIX#/usr/bin
    # where can I put the FaxMail manual
    -INSTALLMANPATH = /usr/local/man
    +INSTALLMANPATH = #PREFIX#/usr/man
    # where can I put the FaxMail info page. If you don't have gnu info,
    # you can set this to /tmp or something. If you do, remember to add
    # in an entry to the `dir' file.
    -INSTALLINFOPATH = /usr/info
    +INSTALLINFOPATH = #PREFIX#/usr/info
    # what is the toplevel FaxMail directory.
    # Contains the coverage list and FaxMail.tcl script.
    -FAXMAIL_DIR = /usr/local/lib/FaxMail
    +FAXMAIL_DIR = #PREFIX#/usr/lib/FaxMail
    # external program locations
    @@ -23,7 +23,7 @@
    WISH_CMD = /usr/bin/wish
    # where can I find smail or sendmail
    -MAIL_CMD = /usr/lib/sendmail
    +MAIL_CMD = /usr/sbin/sendmail
    # where can I store temporary files
    TMP_DIR = /tmp
    @@ -39,7 +39,7 @@
    CFLAGS =
    LDFLAGS =
    # Uncomment the following line if linking of tryfax fails.
    -#LDFLAGS = -lresolv
    +LDFLAGS = -lresolv

    I have looked at possibilities for executing
    $ makepkg -o -p Makefiles_ready
    and
    $ makepkg -go -p PATCHMAKER
    The second is a serious candidate for doing it that sort of way. The first, however, needs the embedded makepkg and encasing with makepkg therefore executes that process a second time.

  • Rename file name & format using ftp sender

    Hi all,
    This is regarding the renaming of file at sender file(FTP) communication channel and placeing the same file in the same folder.
    At FTP server at sender side (i.e.clients place) is in .txt format.But now .txt file has to rename and change into .sav foramt with below required name convention of file.
    client format is  :  SAP_Order.txt (Pervious file name).
    We need to change the file in to "SAP_Order_yyyymmddThhmmss.sav" format..
    How can i achieve this requirement?
    Can please suggests me solutions ASAP.
    Best Regards,
    satya,

    Hi,
       if your requirement is to pick the  existing file in the FTP folder...and send as idoc to the target and place the renamed file to FTP folder...
    then its simple...
    use two receivers instead of one , one for point to target and other for sender itself... (second receiver  is for  changing  the file name format....)
    Hope the above understanding is correct...if not provide more details of your requirement...
    HTH
    Rajesh

  • Uploading a file to server using ajax and struts

    My problem is i wrote a program to upload a file to the server using Ajax.
    Here iam used Struts and Ajax.
    The problem is when iam uploaded a file from my PC the file is uploading to the server in the upload folder located in the server my system.
    Iam using Tomcat server 5.0
    But when iam trying to access it through other system it is not doing so
    Giving an internal server error i,e 500.
    Iam putting the necessary documents for ur reference.
    Plz help me soon .
    My exact requirement is i have to upload a file to the upload folder located in the server.
    And i have to get the path of that file and display the file path exactly below the browse button from where iam uploaded a file.
    That should be done without page refresh and submit thats y iam used Ajax
    Any help would greatly appreciated
    Thanks and Regards
    Meerasaaheb.
    The action class is FilePathAction
    package actions;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import java.io.*;
    public class FilePathAction extends Action{
    public ActionForward execute(ActionMapping mapping, ActionForm form,
    HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException
    String contextPath1 = "";
    String uploadDirName="";
    String filepath="";
    System.out.println(contextPath1 );
    String inputfile = request.getParameter("filepath");
    uploadDirName = getServlet().getServletContext().getRealPath("/upload");
    File f=new File(inputfile);
    FileInputStream fis=null;
    FileOutputStream fo=null;
    File f1=new File(uploadDirName+"/"+f.getName());
    fis=new FileInputStream(f);
    fo=new FileOutputStream(f1);
    try
    byte buf[] = new byte[1024*8]; /* declare a 8kB buffer */
    int len = -1;
    while((len = fis.read(buf)) != -1)
    fo.write(buf, 0, len);
    catch(Exception e)
    e.printStackTrace();
    filepath=f1.getAbsolutePath();
    request.setAttribute("filepath", filepath);
    return mapping.findForward("filepath");
    the input jsp is
    filename.jsp
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    <script type="text/javascript">
    alertflag = false;
    var xmlHttp;
    function startRequest()
    if(alertflag)
    alert("meera");
    xmlHttp=createXmlHttpRequest();
    var inputfile=document.getElementById("filepath").value;
    xmlHttp.open("POST","FilePathAction.do",true);
    xmlHttp.onreadystatechange=handleStateChange;
    xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    xmlHttp.send("filepath="+inputfile);
    function createXmlHttpRequest()
    //For IE
    if(window.ActiveXObject)
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    //otherthan IE
    else if(window.XMLHttpRequest)
    xmlHttp=new XMLHttpRequest();
    return xmlHttp;
    //Next is the function that sets up the communication with the server.
    //This function also registers the callback handler, which is handleStateChange. Next is the code for the handler.
    function handleStateChange()
    var message=" ";
    if(xmlHttp.readyState==4)
    if(alertflag)
    alert(xmlHttp.status);
    if(xmlHttp.status==200)
    if(alertflag)
    alert("here");
    document.getElementById("div1").style.visibility = "visible";
    var results=xmlHttp.responseText;
    document.getElementById('div1').innerHTML = results;
    else
    alert("Error loading page"+xmlHttp.status+":"+xmlHttp.statusText);
    </script></head><body><form name="thumbs" enctype="multipart/form-data" method="post" action="">
    <input type="file" name="filepath" id="filepath" onchange="startRequest();"/>
    </form>
    <div id="div1" style="visibility:hidden;">
    </div></body></html>
    The ajax response is catching in a dummy.jsp
    <%=(String)request.getAttribute("filepath")%>
    corresponding action mapping
    <action path="/FilePathAction" type="actions.FilePathAction">
    <forward name="filepath" path="/dummy.jsp"/>
    </action>
    So plz help me to upload a file to the server from any PC.
    Iam searched alot but didnt get any solution.

    Plz help me soon if it possible so
    Iam in great need.
    I have worked alot but not worked out.
    Any help greatly appreciated

  • Automatic File Sync aka "use it and forget it"

    Is it possible to invoke File Sync in a non-interactive way. I want file syncing to be automatic and done "under the covers" for one of our user groups. Failing that, is there any APIs that could be used to build some custom code?
    John Oakley

    The Auto Tool rocks.  I admit it takes some getting used to.  And I definitely turn off the Auto Tool locking feature in Tools > Options (in case I do need to Tab or Space).  In the rare circumstance where I need some tool behavior that the Auto Tool doesn't readily provide, I just shift-right click to bring up the Tools palettes and just keep going.  Plus, the auto tool seems to get a little smarter with each LabVIEW release.
    And just so y'all don't think I'm biased, there are NI people who disagree...one of my teammates, in fact, who is an old-school LabVIEW guy, hates the Auto Tool and has never switched to using it.  But whenever I occasionally need to use an older, pre-autotool version of LabVIEW for whatever reason, I feel totally crippled having to Tab/Space every time I need a new tool.
    You should find that after you get used to it, the Auto Tool speeds up your LabVIEW programming tremendously.
    -D
    Message Edited by Darren on 03-15-2006 05:17 PM
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Why does photoshop automatically rename file names when using save for web?

    All of a sudden when choosing Save for Web, when i type in a name for my file in the File Name: dialog box, when you click "save", it saves the selected slices as the name of the document and not what i typed.
    For example: My psd file is called "website header" and i want to save the slices with the name "index". If i save slice-02 or slice-06 it will save as "index_02.jpg" but if i choose slice 01, it will save as "website-header_01"

    Check your settings in the SfW output options and yopur slice names in PS itself.
    Mylenium

  • Incorrect formatting in Terminal using cut and paste

    I'm at a bit of a loss here as none of my other macs seem to do this
    When I'm in Terminal and do a copy of text it sometimes seems to corrupt the layout. When I paste it, it would all end up on one line.
    For example:
    if (a=a) then {
    print "test";
    would end up as:
    if (a=a) then { print "test"; }
    Which isn't a big deal for copying 3 lines, but when I'm in a configuration file that requires proper layout or is 100 lines long, can drive me crazy.
    I've compaired my terminal settings on my home MBP to my work, all settings are the same. I feel like i'm missing something obvious here... my terminal emulation shouldn't be the issue, if I connect with my "home" mbp it works properly every time..
    Anyone have any thoughts? Suggestions? I've tried searching the discussion forums and google, however the terms "cut paste terminal" are pretty widely used
    Thanks!

    In that case, Terminal is ignoring the Mac lineendings. I have the same problem with text pasted from editors like Tex-Edit, however Tex-Edit includes plenty of menu tools for text conversion. The characters are still there but are invisible, so running a script on the window converts the lineendings from any to any format. This is an old story with Macs vs UNIX vs DOS. Every system has its own linendings

  • How to restore backed up files after I used Rescue and Recovery

    Hi there lenovo community,
    so I'm struggling to find a solution on how to open these files right here:
    Link to image
    First of all, the program I used to back up my hard drive was the Rescue and Recovery that my lenovo desktop came with. I used an external hard drive (WD My Passport, specifically) to back up my old hard drive. The problem that I'm facing right now is how I can open these files, they seem to be not working with any of the option programs the "open with" thingy offers me. If anyone knows  an easy solution for this please please respond to me immediately.. I would really really appreciate it.  I have important documents there.  
    Thanks,
    Enrico
    Moderator note: large image(s) converted to link(s):  About Posting Pictures In The Forums

    Hello CP101, It seems this file extention is a priority file format.
    Here  is a link that has some information on how to resolve the issue.
    I would suggest reading all the suggestions, as some have different methods for resolving this issue.
    Please click the White Kudos star on the left, to say thanks.
    Please mark Accept As Solution if it solves your problem.

  • Unable to load multiple files to Essbase using MaxL and wildcards

    I have multiple data files to load:
    Files:
    Filename.txt
    Filename_1.txt
    Filename_2.txt
    According to the following link, Essbase is able to load multiple files to BSO databases via MaxL by using wildcards:
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?launch.html
    However, when I try to run the following I receive the following error:
    MaxL:
    import database MyApp.DB data from server text data_file "../../MyApp/Filename*.txt" using server rules_file "L_MyRule" on error append to "\\Server\Folder\L_MyRule.err";
    Error:
    ERROR - 1003027 - Unable to open file [DB01/oracleEPM/user_projects/epmsystem2/EssbaseServer/essbaseserver1/app/MyApp/DB/../../Filename*.txt].
    ERROR - 1241101 - Unexpected Essbase error 1003027.
    I can run the following fine without any problem, but this only deals with the first of several files, and I’d rather not hard-code multiple files since the number might vary in the future:
    MaxL:
    import database MyApp.DB data from server text data_file "../../MyApp/Filename.txt" using server rules_file "L_MyRule" on error append to "\\Server\Folder\L_MyRule.err";
    Any ideas? And how about ASO databases?

    JamesD wrote:
    According to the following link, Essbase is able to load multiple files to BSO databases via MaxL by using wildcards:
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?launch.html
    That is the tech ref for 11.1.2.2, are you on 11.1.2.2?
    Import Data
    11.1.2.2 - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?maxl_imp_data.html
    11.1.2.1 - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref_1112100/frameset.htm?maxl_imp_data.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to generate a empty file in AL11 using ABAP and unix command

    Hi Experts,
    when load infopackage triggers it will search file from AL11 if file is available it will get loaded successfully.  When there is no file in AL11 error while opening file (orgin A) and the load will fail.  At this level i have to write a abap code using unix command to generate a empty file.
    Is there any way to achieve the above requirement.
    Thanks
    Vara

    Hi,
    If i get your requirement properly then you want to create a blank file if there is no file on the application server so that your infopackage does not fail, am i correct.
    If this is your requirement then this can be easily done if you use process chain to load the file via infopackage. Follow the following steps:
    1. Add a ABAP program before the infopackage and check if the file is present on the server or not. Use a simple ABAP statement OPEN DATASET <FNAME>. Check the SY-SUBRC after this statement if it is not 0 then it means that the file does not exist on the application server.
    2. Once you have established that the file is not present create a flat file using a code similar to the below one
    OPEN DATASET FILENAME FOR OUTPUT IN TEXT MODE
                          MESSAGE D_MSG_TEXT.
    IF SY-SUBRC NE 0.
      WRITE: 'File cannot be opened. Reason:', D_MSG_TEXT.
      EXIT.
    ENDIF.
    * Transferring Data
    LOOP AT INT_table.
      TRANSFER INT_table-field1 TO FILENAME.
    ENDLOOP.
    * Closing the File
    CLOSE DATASET FILENAME.
    3. Add your infopackage step after this ABAP program in your process chain.
    I hope this helps.
    Best Regards,
    Kush Kashyap

  • Why can't I delete or rename files in Word for Mac and other Office programs?

    When I try to delete or rename an Office for Mac file, I can't.  How do I delete/rename Word for Mac and other Office for Mac files?

    Had this problem for quite a while but found a work-a-round. I click anywhere in the text I want to delete and insert any character. I am then able to block and delete any text I want to. It's been working great.

  • Good start to a .gitignore file for development using VS2010 and GitHub commits

    I apologize if this has already been answered; I searched and did not find any pointers to the information that I am looking for, but my google-fu is not always the best.
    After recently getting back into C# development and restarting using Virtual Studio, I've realized that, using the standard GitHub GUI client, I'm committing a huge amount of binary files.  Obviously, being as I'm just committing the top-level project
    directory and everything including build trees underneath it.
    Does anybody know of a good source to find a .gitignore file that will exclude most, if not conclusively all, of these files?  I only want the files essential to develop the project on the repository; I have a free account, I can't handle the amount
    of space being used.  Basically whatever is the bare minimum source and directory hierarchy required to rebuild the project in a new instance of Virtual Studio.
    Thanks for your time and consideration on this matter.  Any pointers to relevant links or direct help appreciated.
    -Damon Getsman

    Hi Damon,
    I am glad that you have solved the problem and thanks for your share us the solution here, so it would be helpful for other members who get the same issue.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • You tube video's are suddenly downloading as Quicktime movies instead of FLV's. Does anyone know what causes this and how to fix it? Quicktime won't play the files. I use safari and snow leopard and all updates are installed. JulieS

    Is anyone else having this problem and how to fix it?

    There are no preferences for Quicktime 10, only for QT 7.
    Mac OS X 10.6 includes QuickTime versions 10.0 and 7.6.3. The QuickTime 7 player will only be present if a QuickTime Pro key was present at the time of installation, or if specified as part of a custom install, or individually downloaded:
    http://support.apple.com/kb/dl923
    Snow Leopard update 10.6.4 included an update to 7.6.6 (if installed). You can install it from the above link  even though it says for 10.6.3. It's the same version of QuickTime Player 7.6.6.
    (Only QuickTime Player 7.6.3 or 7.6.6 can be updated to "Pro".)
    For anything like Flash videos you should use QT 7.

  • Renaming files with alternate numbers

    I'd like to rename a large number of files with alternate numbers. For example, files 1-10 would be renamed 1,3,5,7,9,11 etc, and 2-10 would be renamed 2,4,6,8,10,12 etc.
    I'm not familiar with AppleScript but use Automator and cannot find a way to do it with actions - a script that I could run from within Automator would be wonderful. Any help would be greatly appreciated.

    There's certainly no Automator action that's going to do this directly - it's a pretty specific requirement.
    Additionally, there are some specific caveats to consider. For example, you can't rename file '2' to '3' because there's already a file '3' in the directory.
    There are two classic solutions to this: one is to work in reverse - rename file 10 -> 19, 9 -> 17, 8 -> 15, etc. so that file '3' is moved before you try to rename file 2
    The other solution is to move the files to a new directory as you rename them which ensures that no naming conflicts exist.
    Also, before anyone can show you an example, you need to be clearer on your file names. Are they really '1', '2', '3', etc., or are they "1.jpg", '2.txt', '3.png', etc. File name extensions are going to be a critical element in renaming these files correctly (e.g. you can't just rename file '2.jpg' to '3' and hope it'll work.

Maybe you are looking for

  • Bad performance view on views

    we have two views with equal key fields which perform very good (order less than 1 second). Both views give extra fields from data sets. I want to combine those extra fields in one record with equal key values. Because some key combinations can miss

  • My mail messages are being received as blanks

    I have been having an issue with my Mail (ver5.2) that when I send a message it usually goes through fine, but every so often (few times daily) it send the message, looks completly normal in my SENT items, but the receiver is getting the message with

  • My iphone is lost please help.

    Hi i have a problem. I go to school in ireland and my iphone 4 black 16 gb was stolen. I called the company to block the phone and sim they did so. later i went to guardas (police) station and the guard(policeman) said that the can track my iphone bu

  • Settlement to work center

    I had problems in my company now, in the module PM .. at the moment when the settlement is introduced to the imposition of a cost center in the equipment, but now changes are so important that at the time of settlement is introduced wanted to Cost ce

  • ADS Configuration with no password

    Hi All, I recently configured ADS between an ABAP Instance (ECC 5.0) and an JAVA Instance. I configure ADS with Basic Authentication. On my ABAP Instance, when I make a check with report FP_TEST_00, I have a correct result : there is no pb. Yet, It a