Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Add text from inside file to file name

    Help wanted · · · – – – · · ·
    2
    2
    1148
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tanja Corell
      Tanja Corell last edited by

      Hello.

      Is it possible to add a portion of a specific line from the text-file to the name of the text-file batch?

      I would like to add date to the name of all my text-files, and the dates are of-course different on each file.

      Scott Sumner 1 Reply Last reply Reply Quote 0
      • Scott Sumner
        Scott Sumner @Tanja Corell last edited by

        @Tanja-Corell

        You would have to use one of the scripting plugins for that…which means you would have to write some code. If you are prepared for that then your choice of language is Python or Lua. If you want to go this route and need additional help, feel free to continue posting to this thread.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors