Questions tagged [brace-expansion]

A shell mechanism which is used to generate arbitrary strings.

1 question with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

Why does this rsync call not work properly?

I made a simple script to perform backup of my NAS. I do it as follows: date="$(date +%Y-%m-%d)" base="/backup" newest="$(ls -1td "$base"/*-*-*/ | head -n 1)" today="$base/$date" dirs="pub,data,...