<filename>tools/data/ava_kinetics/softlink_ava.py
import os, argparse
p = argparse.ArgumentParser()
p.add_argument('--absolute_ava_path', type=str,
                        help='the absolute path for ava data rawframes')
p.add_argument('--kinetics_path', type=str,
                        help='the path for kinetics data rawframes')
args = p.parse_args()

ava_path, kinetics_path = args.absolute_ava_path, args.kinetics_path

"""
for example 
ava_path = '/home/user/mmaction2/data/ava/rawframes/'
kinetics_path = '/home/user/mmaction2/data/ava_kinetics/rawframes/'
"""
if not os.path.isabs(ava_path):
    raise TypeError('The path for ava rawframes should be absolute path')

ava_videos = os.listdir(ava_path)
for video in ava_videos:
    cmd = 'ln -s %s/%s %s/%s'%(ava_path, video, kinetics_path, video)
    os.system(cmd)

<filename>tools/data/ava_kinetics/softlink_ava.py
import os, argparse
p = argparse.ArgumentParser()
p.add_argument('--absolute_ava_path', type=str,
                        help='the absolute path for ava data rawframes')
p.add_argument('--kinetics_path', type=str,
                        help='the path for kinetics data rawframes')
args = p.parse_args()

ava_path, kinetics_path = args.absolute_ava_path, args.kinetics_path

"""
for example 
ava_path = '/home/user/mmaction2/data/ava/rawframes/'
kinetics_path = '/home/user/mmaction2/data/ava_kinetics/rawframes/'
"""
if not os.path.isabs(ava_path):
    raise TypeError('The path for ava rawframes should be absolute path')

ava_videos = os.listdir(ava_path)
for video in ava_videos:
    cmd = 'ln -s %s/%s %s/%s'%(ava_path, video, kinetics_path, video)
    os.system(cmd)

for example  ava_path = '/home/user/mmaction2/data/ava/rawframes/' kinetics_path = '/home/user/mmaction2/data/ava_kinetics/rawframes/'