Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Mint live disk boots Mac but I cannot move files

Posted on 2014-03-31
12
Medium Priority
?
260 Views
Last Modified: 2014-04-12
Mint live disk boots Mac but I cannot move files

Most files are movable but some throw a permission denied alert. I see some of the files are named "IMG_123.jpg" all the files that follow that naming structure are locked despite opening the folder as root. some files in the same folder are accessible but have names like goose.jpg or dog.jpg these open and transfer great.

Cannot rename the restricted files
0
Comment
Question by:Derek Furman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 3
  • 2
12 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39969167
Can you post the commands you run and the errors?
0
 
LVL 30

Expert Comment

by:serialband
ID: 39970024
What are the file permissions?  Do you have ownership of the files?  Since this is Mint, which is a fork of Ubuntu, you aren't root when you are auto logged in.  Did you become root or use sudo when you ran the commands?
0
 

Author Comment

by:Derek Furman
ID: 39972997
see that's just it I used the GUI, thought there could be a shortcut via the gui (wish full thinking methinks). So I am turning to the terminal.

I want move this folder and contents

/media/Macintosh HD/Users/tedmorrison/Pictures/
TO
/media/cell3603332336/Ted/Pictures

I imagine I have to root or sudo but my experience is lacking, I am hoping you can show me the script instead of beat my head against it.

You can see I'm moving files from my mac to a external HD

one thing to note is about half the pictures will transfer but the other half throws this error "Error opening file: Permission denied"
0
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 

Author Comment

by:Derek Furman
ID: 39973009
Another strange thing GIMP will open the files and allow save to a new location but this is tedious to the extreme with over 500.jpg at production resolution(big)

Gimp does not give any indication it is running as root.

Thx experts
0
 
LVL 30

Expert Comment

by:serialband
ID: 39973193
Gimp is likely not deleting files from your HD.

If you just copy with cp instead of moving it with mv you should be fine.
Otherwise, if you really want to move the files precede the command with sudo
0
 

Author Comment

by:Derek Furman
ID: 39973639
mint@mint /media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages $ cp -r /media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages* /media/cell3603332336/Files
cp: cannot stat `/media/Macintosh': No such file or directory
cp: cannot stat `HD/Users/tedmorrison/51': No such file or directory
cp: cannot stat `plusimages,.pages*': No such file or directory

I'm getting a no such directory on this
any ideas on how to move the folders and contents at once?
0
 

Author Comment

by:Derek Furman
ID: 39973645
Also

mint@mint /media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages $ sudo cp -r /media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages* /media/cell3603332336/Files
cp: cannot stat `/media/Macintosh': No such file or directory
cp: cannot stat `HD/Users/tedmorrison/51': No such file or directory
cp: cannot stat `plusimages,.pages*': No such file or directory
0
 

Author Comment

by:Derek Furman
ID: 39973650
this moved images but not folders
mint@mint /media/Macintosh HD/Users/tedmorrison $ sudo cp *.* /media/cell3603332336/Files
1cp: omitting directory `51 plusimages,.pages'
cp: omitting directory `Artist Directory Northwest .rtfd'
cp: omitting directory `Gaylesapp.rtfd'
cp: omitting directory `Guidelines for BW.rtfd'
cp: omitting directory `merchant.mv_files'
cp: omitting directory `mockupbroch.pages'
cp: omitting directory `Re_ Copy of page inserts.rtfd'
cp: omitting directory `suescopy.rtfd'
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39973691
The path must surround by quotes because there are spaces in between, try -

sudo cp -Rv '/media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages*' /media/cell3603332336/Files

Open in new window

0
 
LVL 30

Expert Comment

by:serialband
ID: 39973852
That also suggests that the reason your move failed was that you forgot to put quotes around the paths with spaces.
0
 

Accepted Solution

by:
Derek Furman earned 0 total points
ID: 39983674
Zipped the files and moved them.
0
 

Author Closing Comment

by:Derek Furman
ID: 39995858
The problem seems to be related to Apple file system locked permissions, sudo and root would not over ride permission on files with odd naming structure. I was able to open most the files with GIMP, which was confusing. I surmised if GIMP opens the files and I can re save them to the new location maybe I can just zip them, strange that worked. I tried many scripts but none gave me the results I needed.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question