📅  最后修改于: 2022-03-11 14:49:44.979000             🧑  作者: Mango
#!/bin/bash
echo $0
full_path=$(realpath $0)
echo $full_path
dir_path=$(dirname $full_path)
echo $dir_path
examples=$(dirname $dir_path )
echo $examples
data_dir="$examples/data"
echo "DATA: $data_dir"