cutting path of text files path
6th depth changes (output of "find /mnt/zarchive/hsm/0/ -name *.msg > /mnt/zarchive/listMsgHsm.txt") from a zimbra HSM folder
when I tried running on a path e.g.: cut -d "/" -f 5 /mnt/zarchive/hsm/0/10/msg/0/269-322.msg
It outputs whole text in 269-322.msg
how do I to only get "10" (mailbox ID), 5th if using "/" as delimeter for cut?
|