$ pwd /Users/kylefoley/library/containers/com.apple.QuickTimePlayerX/data/library/Autosave Information

$cp /Users/kylefoley/library/containers/com.apple.QuickTimePlayerX/data/library/Autosave\ Information /Volumes/old/QT_screen_recs


/Users/kylefoley/library/containers/com.apple.QuickTimePlayerX/data/library/Autosave Information is a directory (not copied).

I don't understand why this is not working. I've also tried:

$cp /Users/kylefoley/library/containers/com.apple.QuickTimePlayerX/data/library/Autosave\ Information/* /Volumes/old/QT_screen_recs

Which yields:

/Users/kylefoley/library/containers/com.apple.QuickTimePlayerX/data/library/Autosave Information/*: No such file or directory
  • I would try putting " around the file glob (the path ending in *) rather than the escape of the space
    – mmmmmm
    Apr 25, 2021 at 6:45
  • I had the best experiences with cp -rf
    – BabyBoy
    Apr 25, 2021 at 7:45

1 Answer 1


When you want copy a directory with command cp you need add option -r or -a. -a is best because it preserves the structure and attributes of files as indicated in the man command :

man cp

In your case if QT_screen_recs is a directory the corrects commands are :

cp -r /Users/kylefoley/library/containers/com.apple.QuickTimePlayerX/data/library/Autosave\ Information /Volumes/old/QT_screen_recs


cp -a /Users/kylefoley/library/containers/com.apple.QuickTimePlayerX/data/library/Autosave\ Information /Volumes/old/QT_screen_recs

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .