I need to execute a command in bash that takes a constructed argument. The string argument needs to be passed without quotations. How do I remove the quotes?
This does not work:
Tracks='bark.mov'
TrackDir='~/soundtracks/'
TrackPath=$TrackDir$Track
omxplayer -o local $TrackPath
This does not work:
omxplayer -o local '~/soundtracks/bark.mov'
This does work:
omxplayer -o local ~/soundtracks/bark.mov
TrackDir=~/'soundtracks/'