small bash command
hello,
I need your help for a very simple bash command. I would like to watch the last video I've downloaded without searching the folder by hand. Here is my command: vlc $(ls ~/Downloads/*.avi -t) How to adapt it to files with spaces ? I've tried several things with no success. Thanks. |
I think this should work for you.
Code:
vlc "$(ls ~/Downloads/*.avi -t)" Quote:
|
thanks
|
You're welcome. I'm happy to know you found my post helpful.
If you feel your question has been answered then please consider using the thread tools to mark this thread solved. |
All times are GMT -5. The time now is 06:15 AM. |