Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    16,563
    Likes Received:
    437
    Trophy Points:
    583
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    16,563
    Likes Received:
    437
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Happy to help. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice