Searched refs:dir_name (Results 1 – 6 of 6) sorted by relevance
18 def _is_dir(dir_name): argument19 return str(os.path.isdir(dir_name))
66 dir_name = os.path.basename(args.backup_dir)67 _dest_dir = os.path.join(args.backup_dest_dir, dir_name)
337 dir_name = os.path.dirname(self.main_src)338 while dir_name:339 if dir_name.endswith('.'):340 dir_name = os.path.dirname(dir_name)342 if os.path.exists(os.path.join(dir_name, 'Cargo.toml')):343 self.cargo_dir = dir_name345 dir_name = os.path.dirname(dir_name)
121 dir_name = os.path.dirname(filename)122 if not os.path.exists(dir_name):123 makedirs(dir_name)
34 for dir_name in dirs:35 src_dir = os.path.join(root, dir_name)
262 dir_name=${file%/*}289 mv $file "$dir_name/$newfile_name"