Im trying to create a dynamic path to directorie /lib, but the code bellow is giving me a error, that the directorie does not exist.
user=$USER
home=$HOME
rsync -az /$home/$user/lib /media/x/x
Could somebody give me a tipp on how to solve the problem?