• 0 posts
  • 7 comments
Joined 3 years ago
Cake day: July 8th, 2023
  • The trailing slash is just following cp’s own special treatment

    
    # before
    dir/
        file1
    target/
        orig.txt
    
    
    
    # no trailing slash - copy *dir* to target
    cp -r /path/to/some/dir /my/target
    
    # after
    target/
        orig.txt
        dir/            # dir copied to target
            file1
    
    
    
    # with trailing slash - copy *contents* of dir to target
    cp -r /path/to/some/dir/ /my/target
    
    # after
    target/
        orig.txt
        file1            # contents of dir
    
    
  • I have lots (100s?) of pdfs for ttrpg rules collected over years - storing in folders is enough to separate by game, but fails when a single book is a mix of content - does it go in the adventure, character options or DM folder?

    Having a nice UI with tags and searching would help to organise the collection a lot better.

    Accessing all of that across any of my devices while the files actually live on my NAS would a be a big improvement - its easy for my laptop & tablet to get out of sync etc

  • Sounds like the book would be a great resource.

    I’ve hopped out of electronics and now make a living coding in an adjacent area, but find myself working with colleagues that are happy approaching all tasks like a script.

    Code reviews, coupling etc arent part of their vocab so in lieu of peer role models im on the look out for good resources thst aren’t just chasing the next buzzword.