• Legianus@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    22 hours ago

    If they are empty, I would just delete them with rm -r Odin and do the same for Projects, otherwise you coul d for instance move all content of Projects to Odin with mv Projects/* Odin and then rename Odin with the same command mv Odin 'Odin Projects' and then delete the remaining Projects folder

    • LoveEspresso@retrofed.comOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      22 hours ago

      I removed the two folders using the command that you’ve taught me, but when i am trying to remove yet another folder, this is what it’s showing.

      image

        • graycube@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          21 hours ago

          Files have a concept of ownership and have permissions on them. Some permissions can stop you from deleting them. If you own the file you can add a “-f” option to the rm to force it to delete. You can also change the permissions and ownership on files.

    • LoveEspresso@retrofed.comOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      22 hours ago

      Thanks. I apply the rm command, and create a new folder afresh.

      Actually, the course that i am doing has got many steps missing.