• 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
    link
    15 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
      link
      English
      15 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.