Rename command !

Hi,
I come from debian background. I am used to rename the files in the following way on my debian system
rename 's/foo/bar/g' *foo*
Now, on my ARCH system there is a rename command but if I try the above command it does nothing.
Are there 2 different versions of rename ?
Which one should I install if I want the mentioned functionality ?
thanks,

The debian/ubuntu version uses a perl replace method.....arch uses a different method.....
[jim@myhost etc]$ man rename
RENAME(1)                  Linux Programmer's Manual                 RENAME(1)
NAME
       rename - Rename files
SYNOPSIS
       rename from to file...
DESCRIPTION
       rename will rename the specified files by replacing the first occurrence of from in
       their name by to.
       For example, given the files foo1, ..., foo9, foo10, ..., foo278, the commands
              rename foo foo0 foo?
              rename foo foo0 foo??
       will turn them into foo001, ..., foo009, foo010, ..., foo278.
       And
              rename .htm .html *.htm
       will fix the extension of your html files.
SEE ALSO
       mmv(1), mv(1)
                                1 January 2000                       RENAME(1)
(END)

Similar Messages

  • Problem with rename command in ftp_command

    hi all ,
    i am facing a problem in renaming a file by rename command...
    this is how i am calling the fm ftp_command
    CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = g_handle
          command       = 'RENAME l_templine_file l_templine_file1'
        TABLES
          data          = l_i_temp_line
        EXCEPTIONS
          tcpip_error   = 1
          command_error = 2
          data_error    = 3
          OTHERS        = 4.
      IF sy-subrc <> 0.
    here l_templine_file   - dev00227.header.tmp  
    l_templine_file1 - dev00227.header.txt
    the fm is failing that the error meassage is FTP subcommand  error
    can u suggest where i am going wrong in this...

    hi,
    May be the command you are passing is incorrect syntax..
    Pass the values like this..
    l_templine_file =  'c:\dev00227.header.tmp' " this should be with path'
    l_templine_file1 = 'dev00227.header.txt'" this is just the name of file
    If not worked..then Try writing in small letters//
    write
    command = 'rename l_templinefile l_templine1'.
    rewards if useful
    Hope this solves..
    regards,
    nazeer
    Message was edited by:
            nazeer shaik
    Message was edited by:
            nazeer shaik
    Message was edited by:
            nazeer shaik

  • Browser batch rename command question.

    PS7 - OS 10.4.11 - 1.33 Ghz PowerPC G4
    I was looking at a folder of images using the browser and selected a number of them - some of these images had previously had changes made to them and then saved as JPEGs, some had not been worked at all since downloading from the camera to the HD.
    Wanting to group them by title, I used the batch rename command, by Control-clicking on the selected images, to rename them in the same folder with Mac OS9 compatibility (I couldnt find a Mac OSX compatibility even though that is my system). This was the first time I have used the batch rename command, and assumed it would merely change the file name.
    I then tried to open the files after this process. Those images that had previously been worked and saved as JPEGs are referred to as Document in the Finder, rather than as Adobe Photoshop JPEG. When trying to open them, I got a message:-
    The document Louvre1 could not be opened. ColorSync cannot open files of this sort.
    The only way I have found to view them is to use Open with Safari command.
    Those images that had not been worked are referred to as Unix Executable File in the Finder. I cannot view these at all, not even with the Open with Safari command.
    Any comments, please? What am I missing? I did not expect the process to so radically change the files. I can use Grab to get an image of those files that can be opened in Safari, although presumably they will not be so detailed as the originals.
    And those images that cannot be opened at all, even in Safari:- Can I get them back as PS JPEGs, or in any viewable form?
    Any help gratefully received.
    Thanks,
    Graham

    When you renamed the files, did you remember to include the ".jpg" extension at the end of each file name? If not, add it now.
    And make sure you are running Ps 7.0.1. It's a free and mandatory update (numerous bug fixes).

  • Oracle 10.2 RENAME command broken ..

    Hello all,
    I did the following to rename a file:
    "alter database rename file [DATA_FILE_1] to [DATA_FILE_2]'
    But ..
    When I do:
    "select name from v$datafile"
    I see BOTH [DATA_FILE_1] --- AND --- [DATA_FILE_2]
    To me, I should only see [DATA_FILE_2] :-|
    When I try to do the following command to correct the problem,
    "alter database datafile [DATA_FILE_1] offline",
    I get the following error:
    ORA-01145: offline immediate disallowed unless media recovery enabled
    I also did :
    "alter database backup controlfile to trace" and saw that BOTH
    [DATA_FILE_1]
    --- AND ---
    [DATA_FILE_2]
    were listed
    Yikes!
    What happened? Why did the software work this way? How can I solve this problem?
    TIA

    10.2.what?
    Post your actual DDL not a simplified version of it.
    Post the result of this query:
    SELECT file_name, file_id, status, online_status
    FROM dba_data_files;Do not change anything. Do not do a shutdown. Leave everything alone until we can figure out what you are looking at.

  • File renaming in Sender file adapter usins OS command

    Hi Guys ,
    Can anyone explain on how to use the rename command in Sender file adapter using OS command parameter.
    Thanks,
    KC.

    Hey
    run the following OS command
    mv <originalFileName> <newFileName>
    This command will copy the <originalFileName> to a new file called <newFileName> and will delete the <originalFileName>
    There is no rename command in Unix,mv is used to rename the files
    Thanx
    Aamir

  • Unix "rename" Terminal command available in OS X?

    Hello,
    I have a couple of different cameras/phones that deliver their photos as
    DSC00001.jpg
    DSC00002.jpg
    DSC00003.jpg
    etc.
    I want to be able to rename these files such that "DSC" is replaced by the camera or phone that took the shot. The "rename" command in Unix (and CMD prompt in XP) do exactly what I need. I just run
    rename DSC*.jpg W580i*.jpg and all of file in the folder are renamed.
    When I try and run the rename command in a Terminal in OS X, I get this error
    mr-mbp:Pix_Xfer MR$ rename
    -bash: rename: command not found
    Is there a way to enable the rename command in OS X?
    I found a nice script called "Replace Text in Item Names" that does what is needed however the command seems so much easier...
    THx!
    /MR

    If I were renaming a single file mv would be perfect, but I need to do many files at once. The practicum is that I have a set of files that have an underscore in the file name. I wrote a perl script that automatically generates LaTeX code to make a book for the pictures. However, the \includegraphics command in LaTeX does not care for underscores in filenames so I want to transliterate the underscores into something more LaTeX friendly, like dashes. With rename it's as simple as this:
    rename _ - *.jpg
    and all of my images that had underscores in their names are replaced with dashes. mv just isn't practical when I'm looking at hundreds (or more) of images. That's why I was so interested in the build of rename from linux -- I don't care what the source is, I just need the functionality.
    Now, the rename.c file does have a shell script at the top that is a very decent substitute:
    #!/bin/sh
    if [ $# -le 2 ]; then
    echo call: rename from to files; exit;
    fi
    FROM="$1"
    TO="$2"
    shift
    shift
    for i in $@; do N=`echo "$i" | sed "s/$FROM/$TO/g"`; mv "$i" "$N"; done
    but the compiled C program does fix some potential issues, and it would also satisfy the purist in me that loves having a native compiled rendition of rename around.

  • Shell commands from JSP after Forms migration

    During application migration from forms 9i to JSP & BC4J, I have to code the following Forms code into my JSP application.This is for a button pressed trigger.
    DECLARE
    RENAME_STRING VARCHAR2(120):= 'RENAME C:\BRC\PDATA' ||:DRAWING_ACCOUNTS.ACCOUNT_ID|| '.TXT P' || :DRAWING_ACCOUNTS.ACCOUNT_ID || TO_CHAR(SYSDATE,'DDMMYY')|| '.txt';
    BEGIN
    HOST( RENAME_STRING, no_screen );
    web.show_document( 'http://hostname/selectfile.html', '_new');
         IF NOT Form_Success THEN
              Message('Error -- File not Renamed.');
         END IF;
    END;
    How can I do this simple sending of OS commands in JSP, any ideas?

    Hi,
    Not only rename commands but I have to pass several other os commands like 'sqlldr' for data upload as well. Therefore, I need a reusable piece of code for that. I have acheived some way for that using the following code.
    put the following file in that package.
    package BankrecBC4J;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import java.text.*;
    import java.util.zip.*;
    class StreamGobbler extends Thread
    InputStream is;
    String type;
    StreamGobbler(InputStream is, String type)
    this.is = is;
    this.type = type;
    public void run()
    try
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line=null;
    while ( (line = br.readLine()) != null)
    System.out.println(type + ">" + line);
    } catch (IOException ioe)
    ioe.printStackTrace();
    public class GoodWindowsExec
    private static final boolean NATIVE_COMMANDS = true;
    //Allow browsing and file manipulation only in certain directories
         private static final boolean RESTRICT_BROWSING = false;
    //If true, the user is allowed to browse only in RESTRICT_PATH,
    //if false, the user is allowed to browse all directories besides RESTRICT_PATH
    private static final boolean RESTRICT_WHITELIST = false;
    //Paths, sperated by semicolon
    //private static final String RESTRICT_PATH = "C:\\CODE;E:\\"; //Win32: Case important!!
         private static final String RESTRICT_PATH = "/etc;/var";
         * Command of the shell interpreter and the parameter to run a programm
         private static final String[] COMMAND_INTERPRETER = {"cmd", "/C"}; // Dos,Windows
         //private static final String[] COMMAND_INTERPRETER = {"/bin/sh","-c"};      // Unix
         * Max time in ms a process is allowed to run, before it will be terminated
    private static final long MAX_PROCESS_RUNNING_TIME = 30 * 1000; //30 seconds
         //Normally you should not change anything after this line
         //Change this to locate the tempfile directory for upload (not longer needed)
         private static String tempdir = ".";
         private static String VERSION_NR = "1.1a";
         private static DateFormat dateFormat = DateFormat.getDateTimeInstance();
    public GoodWindowsExec(String g)
    System.out.println(" hello " + g);
    /*if (g.length < 1)
    System.out.println("USAGE: java GoodWindowsExec <cmd>");
    System.exit(1);
    try
    String osName = System.getProperty("os.name" );
    String[] cmd = new String[3];
    System.out.println("here ");
    if( osName.equals( "Windows NT" ) )
    cmd[0] = "cmd.exe" ;
    cmd[1] = "/C" ;
    cmd[2] = g;
    else if( osName.equals( "Windows 2000" ) )
    System.out.println("Windows 2000");
    cmd[0] = "command.com" ;
    cmd[1] = "/C" ;
    cmd[2] = g;
    else if( osName.equals( "Windows XP" ) )
    System.out.println("Windows XP");
    cmd[0] = "command.com" ;
    cmd[1] = "/C" ;
    cmd[2] = g;
    else if( osName.equals( "Windows 95" ) )
    cmd[0] = "command.com" ;
    cmd[1] = "/C" ;
    cmd[2] = g;
    Runtime rt = Runtime.getRuntime();
    System.out.println("Execing " + cmd[0] + " " + cmd[1]
    + " " + cmd[2]);
    Process proc = rt.exec(cmd);
         * Starts a native process on the server
         *      @param command the command to start the process
         *     @param dir the dir in which the process starts
    // any error message?
    StreamGobbler errorGobbler = new
    StreamGobbler(proc.getErrorStream(), "ERROR");
    // any output?
    StreamGobbler outputGobbler = new
    StreamGobbler(proc.getInputStream(), "OUTPUT");
    // kick them off
    errorGobbler.start();
    outputGobbler.start();
    // any error???
    int exitVal = proc.waitFor();
    System.out.println("ExitValue: " + exitVal);
    } catch (Throwable t)
    t.printStackTrace();
         * Converts some important chars (int) to the corresponding html string
         static String conv2Html(int i) {
              if (i == '&') return "&amp;";
              else if (i == '<') return "&lt;";
              else if (i == '>') return "&gt;";
              else if (i == '"') return "&quot;";
              else return "" + (char) i;
    static String startProcess(String command, String dir) throws IOException {
              StringBuffer ret = new StringBuffer();
              String[] comm = new String[3];
              comm[0] = COMMAND_INTERPRETER[0];
              comm[1] = COMMAND_INTERPRETER[1];
              comm[2] = command;
              long start = System.currentTimeMillis();
              try {
                   //Start process
                   Process ls_proc = Runtime.getRuntime().exec(comm, null, new File(dir));
                   //Get input and error streams
                   BufferedInputStream ls_in = new BufferedInputStream(ls_proc.getInputStream());
                   BufferedInputStream ls_err = new BufferedInputStream(ls_proc.getErrorStream());
                   boolean end = false;
                   while (!end) {
                        int c = 0;
                        while ((ls_err.available() > 0) && (++c <= 1000)) {
                             ret.append(conv2Html(ls_err.read()));
                        c = 0;
                        while ((ls_in.available() > 0) && (++c <= 1000)) {
                             ret.append(conv2Html(ls_in.read()));
                        try {
                             ls_proc.exitValue();
                             //if the process has not finished, an exception is thrown
                             //else
                             while (ls_err.available() > 0)
                                  ret.append(conv2Html(ls_err.read()));
                             while (ls_in.available() > 0)
                                  ret.append(conv2Html(ls_in.read()));
                             end = true;
                        catch (IllegalThreadStateException ex) {
                             //Process is running
                        //The process is not allowed to run longer than given time.
                        if (System.currentTimeMillis() - start > MAX_PROCESS_RUNNING_TIME) {
                             ls_proc.destroy();
                             end = true;
                             ret.append("!!!! Process has timed out, destroyed !!!!!");
                        try {
                             Thread.sleep(50);
                        catch (InterruptedException ie) {}
              catch (IOException e) {
                   ret.append("Error: " + e);
              return ret.toString();
    In the first line of the JSP file include the package
    <%@page import="BankrecBC4J.*" %>
    and call
    it this way:from the jsp page
    new GoodWindowsExec ("calc"); //
    which should open up the calciulator, and should do for other os commands as well.
    Thanks

  • Script to connect and rename a drive works on Windows 8.1 but not Windows 7

    I have a script to map a drive to a WebDAV share and the staff wanted it so the Drive shows up as Onedrive and not \\http......etc So I added entries to the script
    to rename the drive to that. It seems to run and work perfectly on Windows 8.1 but on Win 7 it maps the drive but the rename part doesn't work. Even running the rename section manually in a separate script on Windows 7 does nothing. Is there a different rename
    command for VB for a Win 7 OS? 
    Jason

    Sure thing, Also Ive found the problem is on the ones that aren;t working if I open an app notepad for example and do a save as that drive shows as the name I want it but it doesn't when I just go to My comuter view
    Set WshShell = WScript.CreateObject("WScript.Shell") 
    Return = WshShell.Run("https://login.microsoftonline.com/login.srf?wa=wsignin1.0&whr=adfs.cr.k12.ia.us&wreply=https://crdistrict-my.sharepoint.com&LoginOptions=1", 1) 
    WScript.Sleep 8000
    Dim objNetwork
    dim objFSO, objShell, objUNC
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objNetwork = WScript.CreateObject("WScript.Network")
    Dim strDriveLetter1, strRemotePath1, strNewName
    'end of varible declarations
    strDriveLetter1 = "W:"
    strRemotePath1 = "\\XXXXXXXX-my.sharepoint.com@SSL\DavWWWRoot\Personal\" & objNetwork.UserName & "XXXXXXXXX/documents"
    strNewName = "OneDrive"
    'end of varible setup
    objNetwork.MapNetworkDrive strDriveLetter1, strRemotePath1
    'end of map creation code
    ' Section which actually (re)names the Mapped Drive
    Set objShell = CreateObject("Shell.Application")
    objShell.NameSpace(strDriveLetter1).Self.Name = strNewName
    WScript.Quit
    'end of script
    Jason

  • What are the restrictions &pitfalls of renaming a table vs select * into...

    Hello all,
    I've got a situation coming up possibly, that I'm looking at where I may need to rename a table that has about 3 TB of data in it.
    I'd looked at doing the oracle RENAME command, and it mentions that some restrictions that would error out would be:
    views, synonyms, and stored procedures and functions that reference the table.
    I'd been looking around on different sites researching more, and found some saying that tables with foreign keys, check constraints would also error out on this....but in the Oracle docs I see it saying:
    "Oracle Database automatically transfers integrity constraints, indexes, and grants on the old object to the new object."
    Were the other non-Oracle site references maybe to older versions? I'm using 11Gr2.
    The other part of this is that the app designers really want to recreate the original table. Essentially this is doing
    TABLENAME1 -> TABLENAME1_OLD
    Then recreating TABLENAME1 anew empty for new use.
    My original thoughts were to do select * from TABLENAME1 into TABLENAME1_OLD, and then truncate TABLENAME1....but with the size of the data (and this will eventually be done in PROD), I"m trying to say that doing the RENAME and recreating the empty table would be less resource intensive.
    Would the rename and recreate table be the way to go?
    If so, then I need to make sure I know all the restrictions and pitfalls on rename would have....
    Thanks in advance!!
    cayenne

    rp0428 wrote:
    >
    I've got a situation coming up possibly, that I'm looking at where I may need to rename a table that has about 3 TB of data in it.
    I'd looked at doing the oracle RENAME command, and it mentions that some restrictions that would error out would be:
    views, synonyms, and stored procedures and functions that reference the table.
    I'd been looking around on different sites researching more, and found some saying that tables with foreign keys, check constraints would also error out on this....but in the Oracle docs I see it saying:
    "Oracle Database automatically transfers integrity constraints, indexes, and grants on the old object to the new object."
    Were the other non-Oracle site references maybe to older versions? I'm using 11Gr2.
    The other part of this is that the app designers really want to recreate the original table. Essentially this is doing
    TABLENAME1 -> TABLENAME1_OLD
    Then recreating TABLENAME1 anew empty for new use.
    My original thoughts were to do select * from TABLENAME1 into TABLENAME1_OLD, and then truncate TABLENAME1....but with the size of the data (and this will eventually be done in PROD), I"m trying to say that doing the RENAME and recreating the empty table would be less resource intensive.
    Would the rename and recreate table be the way to go?
    {quote}
    You are missing a key piece of the requirements
    What is the intended use of the OLD and the NEW tables?
    Why do you need a new table with exactly the same name unless you intend to use it exactly the same way you were using the old table? And if that is the case it seems to me that other tables with foreign keys need to be truncated also and point to the new table and not the old one.Unfortunately, I don't know. This is just a request the devs have, and I'm not sure of their reasoning, but this is what they're asking for, so, I'm trying to research the best way to do what they request.
    Thanks,
    C

  • Move to command unavailable in Adobe Bridge?

    What causes this?
    The Move To comand is shadowed and unavailable. The Copy To command appears to be available, but does not work. And I am unable to drag files to folders.
    I have restarted, purged the caches, restarted again.
    Negative effect.
    Can anyone advise?.
    CS5 on OSX

    The move to and copy functions worked in other apps; the Batch Rename command was also shadowed and I was unable to rename files/folders manually in Bridge.
    Problem seemed to be only in one set of files in several folders.
    I could create new folders and drag other files to them and then the functions where available, but not those original files and original folders.
    Since could not move, copy, drag or batch rename files, I was unable to place existing files in new folders.
    Solution: Move To Trash command was functionnal, so moved all folders to trash, then created new folder on desktop dragged contents of trashed files to new desktop file. Viola: problem solved.

  • File rename doesn't add leading zeros to renaming files sequence? And a pat on the back to the LR de

    First of all, LR truly rocks. Any Adobe folk reading this, please take this note as a massive pat on the back for your team. There's a lot of childish and naive negativity from people posting in this forum. And I suspect from folk who are not really your key market for this app. I feed my kids by running a photography business and have been shooting digital since the early 90s...ya know...
    LR will be looked at as a massive sea change in the development of digital photography. The first time the entire workflow process is truly viable from end to end. What will make LR the ultimate winner in it's field is simply the integration with Photoshop. Aperture, Capture One etc cannot ever beat LR regarding this and so, just like the way that Excel and Word and Powerpoint all work together and everyone uses them, LR will inevitably become the de facto standard way of managing RAW images for pro photographers.
    Even with the few bugs (specifically file movingon Mac OS10.4.9) LR has shaved HOURS off our workflow. We shoot around 250 gigs of images a month in our weddings and event business. Now all of our editors use LR. No more Capture One etc for us.
    Here's the question - There seems to be no way to add leading zeros to a file rename command. So if you rename a batch of images they appear as 1,2,3,4,5,6,7,8,9,10,11,12 etc so now when I look at them in Bridge or other apps, they are now sorted 1,10,11, etc
    Now let me tell ya this is a pain.
    Any comments or comfort that is is a known issue would be appreciated. All we want is a way to have the rename add the leading zeros like most other apps do...
    Best to all
    William Henshall
    www.californiaweddingphotos.com
    PS By the way, I am a HARD *** about shoddy unstable software sold to pro photographers as the "prefect solution" that doesnt work as advertised...I am that guy that the tech support guys at certain companies dread. Yep, I simply expect an app to do what it says, just like the car I buy. I once resorted to sending the CEO of a certain software company an invoice for my time restarting, reinstalling the OS and bug finding another similar app. You can image, I got a personal call...heh...

    William-
    <br />
    <br />I just changed a folder of 85 images' names, and typed in 001 as my starting number. While no zeroes were prepended, the pix show up in order both in the Finder and in Bridge CS3.
    <br />
    <br />Say a bit more about file moving on your Macs.....
    <br />
    <br />
    <span style="color: rgb(102, 0, 204);">John "McPhotoman"</span>
    <font br="" /></font> color="#800000" size="2"&gt;~~ John McWilliams
    <br />
    <br />
    <br />
    <br />MacBookPro 2 Ghz Intel Core Duo, G-5 Dual 1.8;
    <br />Canon DSLRs

  • Renaming a file in runtime process

    Process p;
    Runtime run=Runtime.getRuntime();
    String[] cmd={"start","Command"};
    p=run.exec(cmd);
    this code works fine and a dos prompt mode opens with D:\test>
    but i need to execute a rename command in that same dos prompt like
    D:\test> ren txt1 txt2 . how to process the " ren txt1 txt2 " automatically in the same prompt.
    renameTo() method works fine, but plz. dont suggests this method
    please suggests me . iam trying more than a week.

    You should get the InputStream for the process.

  • HT204394 how to rename a document created with iwork pages

    how do one rename a document created with iwork pages?

    So the "Rename" command is not supposed to work?  It is a dead link and crashes Pages.
    Where did Pages save the file that I wanted to put into the folder of related documents.  Please bring back "save as" or ask where we want the file saved.  How else can I find it later?

  • Renaming startup disk to begin with a dot

    I realized that 10.6 prevents you from renaming a startup disk to begin with a dot (a period), so that you can hide the volume on the desktop/Finder. I've tried the diskutil rename command in terminal, but it gives me an error saying some like "not suitable name for drive type." It worked in 10.5, but not Snow Leopard. Well, for me at least. Anyone else have this problem? Thanks.
    P.S. Not sure exactly where I should have posted this. I guess it's related to Finder.

    DO NOT start the name of the drive with a dot. if you want to make it hidden from finder (not sure why you'd want to do it with the startup drive) you can add a hidden flag to the drive.
    run this in terminal
    sudo chflags hidden /
    and it will hide the startup drive from finder. to unhide it change hidden to nohidden in the command. and of course you can just go to finder preferences->general and uncheck the box to show internal drives on the desktop. that will remove all internal drives from teh desktop.

  • Renaming oracle datafiles at the unix level

    I have noticed that some of the datafile under /oracle/DV1/sapdata2/ have some strange characters in them
    Grrr - DBAs that don't know brtools.....
    for example:
    drwxr-xr-x   2 oradv1   dba             256 Nov 02 23:22 sr3\177_2
    and it shows as sr3_2 unless you use ls -lb which shows the above:
    Now can I simply stop the DB and cp -rp sr3\177_2 to sr3_2?
    I can actually cp -rp  sr3\177_2 to sr3_X and then copy sr3_X to sr3_2 or an mv.
    So can I do this without screwing up Oracle and SAP?
    What should I do as the \177 characters should not be there?
    Thanks Mikie

    Hello Mike,
    at first... the naming of the folder is no problem in running SAP ... it is only a "cosmetic" failure.
    But to your question.....
    1) Shutdown SAP and Oracle (shutdown immediate)
    2) Copy (and remove) or move your data files
    3) Publish the new file names to oracle the following way:
    > startup mount;
    > alter database rename file '<OLD_FILENAME>' to '<NEW_FILENAME>';
    > shutdown immediate;
    > startup ;
    After this the database should start "normally" with the new data file names / directory structure. After these steps i would make a backup of the database.
    I have done this many times (not only in SAP environment).
    For more information of the rename command:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_1004.htm#i2079942
    Regards
    Stefan

Maybe you are looking for

  • Why I can not insert into a table?

    Hi, all, I have a table "personstudy" with records already. Its primary key is "subjectid". and I have added a new column named "personstatus" varchar2(20) to it. After that, I want to insert into the field with "enrolled" for all records there. My s

  • Virtual copies naming issue

    When I created a virtual copy of an image in LR3, and then I renamed the images, the virtual copies would have the new name with a hyphen. i.e if there were two virtual copies associate with the file, the renamed sequence would be as follows jcp0001,

  • It keeps telling me that on youtube that the video can't be played

    it keeps telling me on youtube that the video cant be played. i just got my imac today and i dont know how to fix it.

  • Can't Create Invoice for PO

    SRM 7.0 Support Pack 9, Extended Classic: When attempting to create an invoice in SRM, we get error message "Purchase order contains no items for invoicing". The purchase order is in approved status and shows up in R3 (4.7).  Making it even more conf

  • How to view video clips on FaceBook?

    FaceBook tells me I must download Flash Player to view video clips. Is Flash Player safe on a Mac? I have researched this question in these Apple Support forums. I have searched the App Store and the Web. I found some good reports, some dire warnings