The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Quick and simple way to copy and rename file in file manager?

Discussion in 'General Discussion' started by Paul Racko, Feb 23, 2015.

  1. Paul Racko

    Paul Racko Registered

    Joined:
    Feb 23, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Nevada City, California, Unite
    cPanel Access Level:
    Reseller Owner
    Is there a quick and easy way to simultaneously copy and rename a file using file manager so as to keep it in the same folder of the original copied file? I'd like to be able to duplicate a file such as example.php and then rename it as example-copy.php all in one step rather than creating a new folder, dragging the copied file there and then renaming it. I also tried to copy the file and save it to the same folder to then rename it, but file manager wont allow a duplicate name. I know I saw what I'm looking for being done in a YouTube video once, but can't remember where I saw that video. Thanks.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Select file by highlighting it, click Copy, on popup window that comes up you see a path: /currentdirectory, on that popup, you can edit whats there. So, if you want to copy a file named paulracko.html, highlight it, click Copy, add this to it before clicking Copy File:
    /currentdirectory/paulrackotoo.html. On Copy, it will be renamed as expected and left in the /currentdirectory.
     
  3. Paul Racko

    Paul Racko Registered

    Joined:
    Feb 23, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Nevada City, California, Unite
    cPanel Access Level:
    Reseller Owner
    That did the trick, thanks Infopro. I new it was something simple like this but must have overlooked it, or clicked in the source path which can't be modified. Cheers!
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page