OS X Technologies :: Ftp Upload Via Terminal - 553 Rename/move Failure: No Such File Or Directory
Apr 24, 2012
Cannot seem to upload to a ftp server (permissions are correct on the home folder of the user!)But I get this result:
ftp> put /Users/[userfolder]/Documents/untitled.rtf
local: /Users/[userfolder]/Documents/untitled.rtf remote: /Users/[userfolder]/Documents/untitled.rtf
227 Entering Passive Mode (99,254,236,63,209,169)
553-Can't open that file: No such file or directory
553 Rename/move failure: No such file or directory
Does the exclusion of a file or directory remove any existing, already backed up versions of that file or directory from TimeMachine? I have a large file I don't want backed up every time I connect to my backup drive. It's 50GB+. I rarely touch the file, and when I do, I don't use it for anything that needs to be saved, it is a historical only version of my Parallels from an older Microsoft OS. I occasionally need to open it to just look at something, but never 'do' anything with it.
I want to exclude it, but don't want any older version of the file to be removed from backup. Does anyone know if exclusions are retroactive into the TimeMachine database? Given this is 50GB+, trying it to find out is a quite slow process.
you can rename, move or even trash a file when you still have it opened in preview or textedit.In win, such action will be stopped by the message "can't do that, the file is open somewhere". Would that data going to be kind of homeless or become a "ghost"?
It says that it can't be deleted.I got this problem when I was downloading a photo with Google chrome, but that photo was downloaded successfully. Downloads window in chrome is now empty.
I have a folder action set up to open movie files in a conversion app but every time I add a new file it loads all the files in the folder. How can i exclude a file that has already been opened by the folder action. I can't move the file due to queing up moves for conversion if the file is moved after it is opened the the program doesn't know where to look for it. Ive tried Filter finder items by last opened and set it as today but that did not work. It opened nothing. May I could set it up to know if the file has been there longer then 5 min that the folder action should not open it.
I am looking for a script to do the following:I have different files in various folders and subfolders that I wish to rename.So I need a script to search for files in all folders and subfolders of my external drive and find all files ending in .doc.Then I need each file to be renamed as "report.doc". (there is only one file per subfolder so there is no danger of having two files with the same name
I am currently using automator to make folders named after the large numbers of images. I have everything set up and its working great but I am trying to make it more efficient.
I strip the filename to just the first part of the code eg "bmz12345" and make the folder from that.
However, In order to do this I have to create a dummy text file or folder somewhere named after the fulle code (bmz12345_black_1) and then strip it down (bmz12345) set a varible of the new filename and then create the folder in the desired location with the right name.
After getting the name of a finder item, Is it possible to change the text that is passed to it without creating a file out of it first?
I have thousands of music projects with a somewhat fixed folder hierarchy and I'm trying to first rename and then extract (move) certain files from their original location.
Here is the most common example of the hierarchy: ProjectName/Info/Setups/fixed name file (either a pdf, txt or jpg)
My goal is to have these files renamed after their parent folders, all the way up to the Project Name and then have them moved to a set folder, out of this dull dictatorship I've created, so my files would end up with a name like this: ProjectName - Info - Setups - fixed name file
need to run a terminal command on my computer at home but it doesn't have screen sharing or remote management enabled. I do however have file sharing enabled and able to browse the drive freely. I want to run a sudo command on that drive but don't know how to run it from where I am.
I have connected to my server through terminal and made my way to the administrator/videos directory where I want to upload the rared directory to so I type put directory name.rar and press enter and I get the following message usage: put local-file [remote-file]
Trying to upload a IPA for ad-hoc deployment to a device group of IOS devices. File goes to upload and nothing happens.
Profile Manager Log has the following exception: Jul 3 13:03:07 cif-podcast.qut.edu.au ProfileManager[441] <Error>: Caught unhandled exception undefined method `each' for nil:NilClass at /usr/share/devicemgr/backend/app/models/cfprefs_knob_set.rb:45:in `replace_string_types' ....
Ok, so I know that: mkdir .testhiddenfolder will create an invisible folder on my home directory. but how do i do this if i have an external drive called "G-Drive M2" .... is it mkdir G-DriveM2/.testhiddenfolder, or mkdir volumes/G-DriveM2/.testhiddenfolder
sorry if this is a way basic question. I'm totally new to unix and Termianl
It will look also in other volumes I have. What is the right way to search only the current volume? I came up with this:find /Volumes/Lion/ -name foo which will return a result like /Volumes/Lion//foo.Is this the right way to do this with the result containing double slashes?
Can't get TERMINAL to stop opening on startup. Nothing shows in startupitems for this user.I've closed (unchecked open at re-login) and it keeps coming back.
I am trying to do research on how to fix my current problem of not being able to open my terminal window. When attempting to do so I get the following error message:
You are unauthorized to run this application.
The administrator has set your shell to an illegal value.
I looked at some previous posts and some people said download iterm2 and put the following command: sudo chsh -s /bin/bash my_username. After this enter password and it should be fixed. However when doing that I get the following response: SC is not in the sudoers file. This incident will be reported.
Couple of things, firstly SC (which is me) is the administrator to this computer (this is my computer and there are no other users on it).
Info: MacBook (13-inch Early 2008), Mac OS X (10.7.3), 2.4 GHz Intel Core 2 Duo
a working Users directory on a volume other than the startup volume?I just bought an SSD for my Mac Pro that I intend to use as my OSX boot drive. Because it's much smaller than my current HDD startup volume, I want to only keep system files and apps on it. To do this I will install a fresh copy of Leopard on the SSD and then migrate my apps to it. Can I tell OSX to place the Users folder on another volume? My hope is to copy the Users directory from the current startup volume to this new location (after first creating user accounts with the same exact names/short names).
Trying to run the following command as a Launch Agent (OS X 10.7): /usr/bin/find /Users/username/Documents/Dropbox/Public -type f -mtime +2 -print0 | xargs -0 rm -r
Created a plist file (reproduced below) and saved to ~/Library/Launch Agents, but the command isn't executed either at the specified time or when the agent is loaded via launchctl. If I change the command to a simple Applescript test: osascript -e 'tell Application "Finder" to display dialog "hello"'
It runs correctly as a launch agent when loaded and as the specified time Which means there's something wrong with the first command (find). But the command runs as written when executed manually in the terminal.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
I need to rename "Original Layer" to Original Image" When this layer exists. In photoshop I've been trying this, but I get this error error "Can’t make «class cCLr» 1 of document "DE00ER515.psd" of application "Adobe Photoshop CS6" into type boolean." number -1700 from «class cCLr» 1 of document "DE00ER515.psd" to boolean tell application "Adobe Photoshop CS6"tell current document if (quick mask mode) then delete channel ¬ "Quick Mask"if layer "Original Layer" then ¬ set OriLayer to "Original Layer" set OriLayer to make layer with properties {name:"Original Image"} delete layer "Original Image" end tellend tell?
I am on a mac pro and I can navigate my OS drive fine in terminal but I have 3 other hard drives how to I go from my OS hard drive to one of my other hard drives?
is there a better way of renaming a file / folder than clicking to select the icon, waiting a couple of seconds, then clicking again on the name (and waiting a tick) to edit the fil name? like a keyboard shortcut im not aware of, im a seasoned mac user but need enlightening,
startup banner.JAWBONE UPDATER ERROR: Failed to inspect the lock file '/Users/[user]' (error 2: No such file or directory)." Jawbone support writes, "get in touch with Apple Support, so they can help you unlock the file on your Mac.
I want to make sure that the file names in iPhoto are unique. For some reason, my digital camera was set to reset its file namer to start at IMG_0001 with every roll, so I have several dozen files with the same file names. Within iPhoto, it's generally not a problem, but if I need to work with a group of files outside of iPhoto, copy-dragging a bunch of photos across rolls to a single folder generally bombs out because of the conflicting file names. iPhoto doesn't seem to have any sort of file renamer at all, I can change the title, but that doesn't actually change the file name. I could and will now use the iPhoto exporter because it seems to do the trick, but sometimes that isn't as convenient as selecting a bunch of files and dropping them into my preferred folder.
I have an AFP share on my nas box containing many files. My problem is that when I try and to rename files by hitting enter, the finder window refreshes and I lose focus of the file rename. This seems to be happening when finder is refreshing the thumbnails for each file's icon.
How can I stop this very frustrating behavior. This doesn't happen when not using AFP.