标签: string bash variables
此cmd
find /home/someuser/somerdir/ -maxdepth 1 -mtime +0 | head -n 1
正在返回此字符串
/home/someuser/somedir/2001-02-03_04-05-06.tar.gz
我怎样才能获得字符串的2001-02-03_04-05-06部分?
2001-02-03_04-05-06