compress command using bash's list