archive_dir.sh data /smartdata/my_project/archive | xargs ln -s data
Problems:
pyspark give other outputs than just hash. --> either clean the dirhash so the output is always clean (it is not known if the output comes from pyspark, or from somewhere in dirhash), or parse the output in archive_dir.sh. The former is strongly preferred
Moves to /<hash and outputs path
example:
Problems:
pyspark give other outputs than just hash. --> either clean the dirhash so the output is always clean (it is not known if the output comes from pyspark, or from somewhere in dirhash), or parse the output in archive_dir.sh. The former is strongly preferred