• ISO 8601 is paywalled
  • RFC allows a space instead of a T (e.g. 2020-12-09 16:09:…) which is nicer to read.
  • calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    Both arguments are surrounded by ", which should be space-safe.

    At least in the shells I use, putting " makes spaces inside paths a non-issue.

    • rtxn@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      For the rsync command, yes. But this:

      for d in $(find . -type d); do
          echo "$d"
      done
      

      will process the space-separated parts of each path as separate items. I had to work around this issue just two days ago, it’s an obscure thing that not everyone will keep in mind.