Invalid sed --transform expression in shell script using gtar -


i'm running shell script in solaris 10, besides run in ubuntu (obviously making little changes) , same error. want change name of path when execute tar command indicate time done. have special case when pathname has spaces. use following command fails:

$ /usr/sfw/bin/gtar  --transform=s/"virtualbox vm"/"virtualbox vm_04_04_2013_14:14"/ \       --show-transformed-names -clvmspf /dev/cintarmt0n /new_vdi/"virtualbox vm" /usr/sfw/bin/gtar: invalid transform expression $ 

could give me tip?


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -