I read the man page of find and got solution
$find /data/songs ! -iname '*.txt' -exec totem --enqueue '{}' ';'
Here ! means that will match which does not agree to specified pattern.
i am using ubuntu 8.04.
Remember your totem should be running before running the above command.
Was there a simpler way ?
Last edited by sumeet inani; 03-20-2010 at 12:25 AM.
|