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

    Re-Numbering Image files

    Scheduled Pinned Locked Moved
    General
    3
    4
    1.5k
    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.
    • S
      Seb
      last edited by

      Hi all,

      Just like to start off with saying that I’m loving using FOG however my OCD is kind of getting the better of me.

      We have created a large number of images since we have started using FOG, deleting many that were no longer in use or just test images. I will be doing a clear up of these images and starting again (so i would like my images to be neatly ordered numerically), however when we delete an image the numerical tag that corresponds with that image stays with that deleted image. So my list of images currently reads something like:

      4 - “Dell Latitude E6500 - Ready to go”
      9 - “General Purpose - Ready to go”

      and so on…

      So we currently only have around 8 images but we are up to around 25 on the numerical tag.

      Sorry if my explanation isn’t quite understandable, but any help would be appreciated.

      -Seb

      1 Reply Last reply Reply Quote 0
      • C
        chad-bisd Moderator
        last edited by

        I have an in depth guide to doing this including all the mysql commands you’ll need to run. It’s in these forums if you search for it. “renumber” or “reorder” are probably good keywords to search on.


        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

        1 Reply Last reply Reply Quote 0
        • K
          Kevin
          last edited by

          Chad-bisd, you actually helped me with this one a ways back before I got involved with SQL for work 🙂

          [url]http://fogproject.org/forum/threads/modifying-image-ids.408/#post-1776[/url]

          "The quieter you become, the more you are able to hear"

          New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

          1 Reply Last reply Reply Quote 0
          • S
            Seb
            last edited by

            Thank you very much for your help, worked like a charm.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            217

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project