- Joined
- Dec 31, 2012
- Messages
- 3
- Reaction score
- 0
- Points
- 1
Hello, there guys. This is my first post here, and I just wanted to thank you all for the valuable information you have provided to me in the past prior to my registration.
Now, I have something that perplexes me. I am not a very proficient terminal user. In fact, I hardly use it at all, but I know it is a very powerful low level manipulation tool. I have read other forum posts regarding how to do this sort of thing, but after "cd"ing to the folder location where I perform a find a move operation, it tells me that I'm not using find properly.
What I am attempting to do is move all files from a specific directory into a new directory that have the filetype extension .flac. Here is the command the the error message I have been using and getting, respectively:
find -name *.flac -exec utility mv{} /Desktop/Beethoven \;
find: illegal option -- n
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
Again, I had already cd'd to the directory I need to move the files from. There are about 100 separate folders I am attempting to search at the directory level I'm at, each representing a different disc of music.
Okay, let me be really situationally specific. I downloaded 100 discs worth of music into my iTunes folder. The album name is "Ludwig van Beethoven - Complete Works [Brilliant Classics 100 CD Box] 2" and the full directory location to the album is "/Users/thomasjeffinger/Music/iTunes/iTunes Media/Music/Ludwig van Beethoven - Complete Works [Brilliant Classics 100 CD Box] 2". I want to search this folder's contained within this folder for files containing .flac extensions, and move them to a folder on my desktop called "Beethoven". What command in terminal would use to do that?
Thanks!
- Alpha Spartan A
Now, I have something that perplexes me. I am not a very proficient terminal user. In fact, I hardly use it at all, but I know it is a very powerful low level manipulation tool. I have read other forum posts regarding how to do this sort of thing, but after "cd"ing to the folder location where I perform a find a move operation, it tells me that I'm not using find properly.
What I am attempting to do is move all files from a specific directory into a new directory that have the filetype extension .flac. Here is the command the the error message I have been using and getting, respectively:
find -name *.flac -exec utility mv{} /Desktop/Beethoven \;
find: illegal option -- n
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
Again, I had already cd'd to the directory I need to move the files from. There are about 100 separate folders I am attempting to search at the directory level I'm at, each representing a different disc of music.
Okay, let me be really situationally specific. I downloaded 100 discs worth of music into my iTunes folder. The album name is "Ludwig van Beethoven - Complete Works [Brilliant Classics 100 CD Box] 2" and the full directory location to the album is "/Users/thomasjeffinger/Music/iTunes/iTunes Media/Music/Ludwig van Beethoven - Complete Works [Brilliant Classics 100 CD Box] 2". I want to search this folder's contained within this folder for files containing .flac extensions, and move them to a folder on my desktop called "Beethoven". What command in terminal would use to do that?
Thanks!
- Alpha Spartan A