Lines Matching full:directory
6 This script will walk the specified directory and write the file specified with
24 parser.add_argument('-d', '--directory', required=True,
25 help='Directory to walk for sub-directory discovery')
27 help='Create links for each directory found in \
28 directory given')
40 def get_subfolder_list(directory, create_links=None): argument
41 """Return subfolder list of a directory"""
47 symbase = os.path.basename(directory)
50 os.symlink(directory, symlink)
53 dirlist.append(directory)
55 for root, dirs, _ in os.walk(directory, topdown=True):
60 reldir = os.path.relpath(targetdirectory, directory)
111 dirs = get_subfolder_list(args.directory, args.create_links)