Need help using terminal to delete files
I left my camera to download a ton of photos, but now my hard drive is full and the computer froze up with an error message that the hard drive was full. I shut down last night and can't startup now. I've been trying to figure out how to get into terminal to delete the photo files, but can't figure it out.
I can get into terminal using the option key at startup, but don't know what to do next.
the files are in a folderi n the users/me/Pictures folder. I could just delete the whole folder if someone could help me.
Also tried starting up in target mode, but wouldn't. Also couldn't start up from an install disk. When I try, it just flashes from the apple logo to the null symbol.
HELP!
Thanks!
Melvin Richards wrote:
All of the files seem like they're in tact and accessable, I just can't use Finder to access them.
Create a external bootable drive.
Create a data recovery/undelete external boot drive
Similar Messages
-
Need help using terminal to back up failed HDD
The stock HDD on my MacBook has developed S.M.A.R.T. errors and is on its way out. I need to get all of my pictures and documents backed up before everything gets completely lost. I was finally able to get the thing fired up, and everything seems to somewhat work, except for Finder. I opened up terminal and attempted copying folders to my external HDD (1 TB Western Digital MyBook) but i can't seem to get it to work.
I'm not sure if it is best to copy just the files I need (such as the.whole Documents and Pictures folders), or to do a complete backup. What would be the best solution for when I install the new HDD and reload everything?
Can anyone provide me with any advice or the line(s) of code that ill need to get this done, starting from when i open Terminal?
Much appreciated!!!Melvin Richards wrote:
All of the files seem like they're in tact and accessable, I just can't use Finder to access them.
Create a external bootable drive.
Create a data recovery/undelete external boot drive -
I need helping using iAds in my application.
I need helping using iAds in my application. I currently am not using any storyboards. I am using Sprite builder for my UI.
I attatched an image ot show all the different file name I have.
Everyone is being used & they all work fully.
The "iAdViewController.h & .m" files are just example codes I looked up and was messing with so that my iAd can work.I wouldn't even be able to use the Mathscript node in an executable?
What I am trying to do is make a user configurable data stream.
They tell me how many bytes are in the stream and what parameters they
want to be put in to it. Currently I have to make vi's that are
called dynamicaly to make the parameters. Then recompile
the code and send it to them. This is somewhat of how the config
file is set up so I know how to make the data.
Data_Type foo
Bytes 30
parameter_name
function
byte# format
sync
foo_sync
29 int
time
foo_time
1,2,3,4 double
If I can't use MathScript to allow the user to make there own functions
is there another way that I might be able to do this so I do not have
to recompile the code atleast? Were I might just be able to make
the new function and send that to them.
Any Idea would be great. -
I need help viewing password protected PDF files on my tablet
I need help veiwing password protected PDF files on my tablet
Any free apps available especially for this purpose?
not that i know of. but i think _*Documents To Go*_ will be worth the expenditure.
JGG
edited by the Jolly Green Giant (where Green stands for environmentally friendly) -
I had to put my computer by together without migration or time machine I NEED help with order of the files?
Hi, where are these other files exactly?
-
Re: Beginner needs help using a array of class objects, and quick
Dear Cynthiaw,
I just read your Beginner needs help using a array of class objects, and quick of Dec 7, 2006 9:25 PM . I really like your nice example.
I also want to put a question on the forum and display the source code of my classe in a pretty way as you did : with colors, indentation, ... But how ? In html, I assume. How did you generate the html code of your three classes ? By help of your IDE ? NetBeans ? References ?
I already posted my question with six source code classes ... in text mode --> Awful : See "Polymorphism did you say ?"
Is there a way to discard and replace a post (with html source code) in the Sun forum ?
Thanks for your help.
Chavadachavada wrote:
Dear Cynthiaw,
I just read your Beginner needs help using a array of class objects, and quick of Dec 7, 2006 9:25 PM . I really like your nice example.You think she's still around almost a year later?
I also want to put a question on the forum and display the source code of my classe in a pretty way as you did : with colors, indentation, ... But how ?Just use [code] and [/code] around it, or use the CODE button
[code]
public class Foo() {
* This is the bar method
public void bar() {
// do stuff
}[/code] -
Need help to share Number/Pages file visa Mail option. Cannot do with iPad Air
Oh, okay. After selecting the format I want to send, it says "creating... ". Then irrespective of the format I choose the message e.g. "creating spreadsheet" disappears, and so does the choice window (where I earlier chose Mail). I am taken back to the Numbers (or Page) where I had started from. Diavonex's note indicated that after "creating ... " stage I should be taken to an option where I can type in email address where I want to send the file, if I want to copy it to another address etc. I cannot arrive at that page - no matter whether I am working with Pages or Number, or which format I choose for the file to share !
I will try to close as you have suggested and try. However, I have switched on and off several times by now, but nothing changed!
Will look forward to any ideas to solve this !!!
Thanks much!
Best -
i need help using the icloud it is not making any since to me can some one call me and help me with it please don't try to help me through email i need to talk and listen i don't understand instruction by reading.
<Phone Number Edited by Host>You aren't addressing anyone from Apple here. This is a user forum.
You might want to call a neaby Apple store to see if they have a free class you could attend. -
Need help using dbms_scheduler to submit an immediate job on the database
Hi. I need help using dbms_scheduler to submit an immediate job on the database. Essentially I want to issue a one-time call to an Oracle Stored Procedure - this procedure will then send an email. I've never used dbms_scheduler before, but here's what I have so far.
So my Program is a stored database procedure named 'TTMS.dropperVacationConflict_Notify', but my problem is that I need to pass 3 parameter values to this job each time I run it. This is what I can't figure out. The procedure expects an 'Id' as number(5), begin_dt as a date, and end_dt as a date.
How do I pass these values when I run my job? Can anyone help?
begin
dbms_scheduler.create_program(program_name=> 'PROG_DROPVACCONFLICTS_NOTIFY',
program_type=> 'STORED_PROCEDURE',
program_action=> 'TTMS.dropperVacationConflict_Notify',
number_of_arguments => 3,
enabled=>true,
comments=> 'Procedure to notify PCM of a Dropper Vacation Conflict. Pass in Dropper Id, Begin_dt, and End_dt');
end;
begin
dbms_scheduler.create_schedule
(schedule_name=> 'INTERVAL_EVERY5_MINUTES',
start_date=> trunc(sysdate)+18/24,
repeat_interval => 'freq=MINUTELY;interval=5',
end_date => null
comments=> 'Runtime: Every day all 5 minutes, forever'
end;
begin
dbms_scheduler.create_job
(job_name => 'JOB_DROPVACCONFLICTS_NOTIFY',
program_name => 'PROG_DROPVACCONFLICTS_NOTIFY',
schedule_name => 'INTERVAL_EVERY5_MINUTES',
enabled => true,
auto_drop => true,
comments => 'Job to notify PCM of Dropper Vacation Conflicts'
end;
/And I use this to execute the job as needed...
begin
dbms_scheduler.run_job('JOB_DROPVACCONFLICTS_NOTIFY',true);
end;
/Duplicate Post
Need help using dbms_scheduler to submit an immediate job on the database -
Need Help Exporting Previous Recipients to File
Need help exporting "Previous Recipients" to file not to Contacts. Sorry if this is a duplicate, I can't find this answer
anywhere for Maverick. Thanks.Hi,
This'll do what you're after:
$out = @()
$mbxs = Get-Mailbox -Identity '*smith*'
foreach ($mbx in $mbxs) {
$whenCreated = $mbx.WhenCreated
$out += Get-MailboxStatistics -Identity $mbx.SamAccountName |
Select DisplayName,TotalItemSize,ItemCount,LastLoggedOnUserAccount,LastLogonTime, @{n="WhenCreated";e={$whencreated}}
$out | Sort DisplayName | Export-Csv .\mbxStats.csv -NoTypeInformation
Don't retire TechNet! -
(Don't give up yet - 12,950+ strong and growing) -
Need Help using OpenText Methord to read a CSV formmated file into an excel spreadsheet
I am trying to load a csv into excel with formated columns, the 4th column is alphanumeric but after loading the values in the four column the column is define as general and it drops the leading zeros on values that have the leading zeros
i can not use a sub string to preload the zeros due to varing length and format the csv file has them correctly anybody have a solution on how to correct?
the VBScript looks like;
Set objExcel = CreateObject("Excel.application")
Const xlDelimited = 1
Const xlGeneralFormat = 1
Const xlTextFormat = 2
oFile = "I:/temp/MEMAPRPT3P 2014-08-04.csv"
wfile = "I:/temp/MEMAPRPT3P 2014-08-04"
filetime = "_2015_01_20_10_28_00"
tagname = "sample"
objExcel.application.visible=false
objExcel.application.displayalerts=false
objExcel.Workbooks.OpenText Filename, , 1, 1, , False, False, False, True, False, , ,Array(Array(1, xlTextFormat), Array(2, xlTextFormat), Array(3, xlTextFormat), Array(4, xlTextFormat))
Set objExcelBook = objExcel.ActiveWorkBook
Saveasfile = trim(wfile) & trim(filetime) & ".xlsx"
objExcelBook.SaveAs Saveasfile, 51
objExcel.Application.Quit
objExcel.Quit
Set objExcel = Nothing
Set objExcelBook = Nothing
The csv data look like"HEDA","Fred","Detroat","0598""SDRA","Steve","Jericho","Q23456""ADAS","Tim","Home","000892356"i can not use a sub string to preload the zeros due to varing length and format the csv file has them correctly anybody have a solution on how to correct?
The issue is that the cell isn't formatted as text, that's a bug within OpenText.
You can use a query table instead and emulate OpenText. The benefit is that you can import the data in the current file.
Andreas.
Sub Test()
Dim FName As String
Dim Q As QueryTable
FName = "C:\Users\Killer\Documents\test.csv"
'Add a new sheet after the current sheet
Worksheets.Add After:=Sheets(ActiveSheet.Index)
'Add a query table
Set Q = ActiveSheet.QueryTables.Add( _
Connection:="TEXT;" & FName, Destination:=Range("$A$1"))
With Q
'Setup the importsettings
.TextFileCommaDelimiter = True
.TextFileTextQualifier = xlTextQualifierDoubleQuote
.TextFileColumnDataTypes = Array(xlTextFormat, xlTextFormat, xlTextFormat, xlTextFormat)
'Import the data
.Refresh BackgroundQuery:=False
'Delete the query table (we don't need a permanent link to the file)
.Delete
End With
End Sub -
HELP!!! Deleted files in TRASH, need to recover them AS SOON AS POSSIBLE!
Deleted files that were in TRASH while i was trying to sort them out - really NEED TO RECOVER these files. PLEASE GIVE advice on how to recover these files.
You posted to the wrong forum. See this tip for recovery:
http://discussions.apple.com/docs/DOC-1689
And this one to learn where to post in the future:
http://discussions.apple.com/docs/DOC-2463
Always backup your data before doing anything that drastic. -
Using automator to delete files with out moving them to the trash
My boss and I work for a school district and we have been fight the ever losing battle of keeping kids from using usb drives and ipods on the computers. We have it fixed on the server accounts so they can't. But the local accounts they can do as they please. So we have found the files that we need to remove Example ( IOUSBMassStorageClass.kext, IPodDriver.kext, ITunesPhoneDriver.kext ) I have tried to use automator to delete these files by creating an application. Well it can't remove them because its need sudo access. So no im trying to figure out how to create a apple script to do so. I know once the files are removed the machines needs to restarted. So im not sure how to include a restart command too.
Any help on how to get this working would greatly appreciated. We have over a 600 machines to do this to. I know that there maybe mixed feeling about removing these functions but we have to fallow our board digital computer policy Primarily ever since the RIAA has been cracking down.Hi Northridge, and a warm welcome to the forums!
I'd use the Terminal...
In Terminal type man mv & man reboot
You can execute those commands preceded by sudo, like...
sudo mv /Library/Extensions/IOUSBMassStorageClass.kext /Library/Extensions/IOUSBMassStorageClass.kext.old
This one just renames it, but you could move it wherever you want. -
Need help, MMC tree got deleted, very urgent.
Hi,
My sap MMC tree, got deleted in the server. I have been trying to restore since 2 days and couldnt succeed, please help me.
1) i have uncared the sapmmc.sar from Kernal\NT\I386\MMC\sapmmc.sar file
2) i got about 7 files, in which there is one sapmmc file i have tried to double click it, n check but no go.
3) i also tried to run the Sapstartsrv.exe file and fill in up the values in pop up window. & filled up the following values :-
SID: DEV
NR: 00
StartProfile: (entire start profile path given)
user: devadm
passwd; (given)
- but it says "the account name is invalid or does not exist or the password is invalid for account name specified"/
- no go in both the cases.
Please need help very urgent.
Regards,
Satish.siva,
I am getting same error since 2 days
SID: DEV
NR: 00
Start Profile: (entire start profile path)
User: <hostname>/devadm
passwd: ****
Error:
cannot install service
create service failed:421
The account name is invalid or doesnot exist, or the passwd is invalid for the account name specified.
Edited by: satish c on Jun 4, 2008 11:12 AM -
Need help to start with some file and text manipulation
Hello script mavens,
I need help with starting a script that does the following:
-within a base folder it takes an inventory (list?) of all the files (which happen to be image files).
-creates a new folder inside the base folder and calls it imagesX where X increases by one every time the script is run
-moves all the files into the images folder
-within the base folder it creates a new text file and calls it imagesX.js
-writes a "//-" into imagesX.js
-then writes the list of filenames into the imagesX.js twice, separated by an empty line, and adds a semicolon to the end of each filename and saves imagesX.js
-from a folder a level above the base folder it copies a file called index.html into the base folder and renames in indexX.html
-in indexX.html it replaces a string "replaceThis" with "imagesX.js"
The task is more complex but this would help me tremendously do the rest.
If I am asking for too much on this forum please let me knowThis should get you started.
The description of how you want to write the data isn't clear, but the rest should work (untested):
property imageNum : 0 -- last used ImageNumber
-- within a base folder it takes an inventory (list?) of all the files (which happen to be image files).
-- get the folder:
set baseFolder to (choose folder)
-- now get the files within it:
tell application "Finder"
set fileList to every file of folder baseFolder as alias list
end tell
--creates a new folder inside the base folder and calls it imagesX where X increases by one every time the script is run
tell application "Finder"
set imageNum to imageNum + 1
set newImageFolder to make new folder at baseFolder with properties {name:"images" & imageNum}
-- moves all the files into the images folder
move every file of folder baseFolder to newImageFolder
--within the base folder it creates a new text file and calls it imagesX.js
set textFile to (open for access file (baseFolder as text) & "images" & imageNum & ".js" with write permission)
--writes a "//-" into imagesX.js
write "//-" to textFile
-- then writes the list of filenames into the imagesX.js twice, separated by an empty line, and adds a semicolon to the end of each filename and saves imagesX.js
-- need more info here
-- a blank line between each instance of the file name? or all file names, blank line, all file names again?
-- an example, please
close access textFile
--from a folder a level above the base folder it copies a file called index.html into the base folder
--and renames in indexX.html
--in indexX.html it replaces a string "replaceThis" with "imagesX.js"
-- the easiest way of doing this is to read the file and write a new copy with the changes - that's easier than changing it in situ:
set indexHTML to (read file "index.html" of folder (container of baseFolder))
set {oldTIDs, my text item delimiters} to {my text item delimiters, "replaceThis"}
set indexHTML to text items of indexHTML
set my text item delimiters to "imagesX.js"
set indexHTML to indexHTML as text
set my text item delimiters to oldTIDs
set indexFile to (open for access file ("index" & imageNum & ".html") with write permission)
write indexHTML to indexFile
close access indexFile
end tell
Maybe you are looking for
-
My "Notes" app on my iPhone 4S is no longer syncing up with my "Notes" app on my PC or on my iPad. It was syncing up fine before. But no longer. How do I fix this so that whatever I type in iPhone "Notes" will appear in my other devices' "Notes"?
-
Can you take a photo on an iPad 2 with a filter or do you have to add one after?
Can you take a photo with a filter or can you only add it after?
-
Blocked ALV Header and Item Displau
Hi Friends, I`m new to ABAP and the forum.I`m in dire need of solution for a report. Scenario I have an internal table with fields ebeln vbeln adrnr. For every change in ebeln i need to create a new page in ALV and display the item VBELN and some mor
-
EQ settings not working (and volume issue?)
Hey everyone, I know that on my old video Ipod, I could listen to music while changing the EQ, and you could always tell a different in the settings. Acoustic sounded much difference than Latin, which sounded different than Rock, and so on. And to re
-
IllegalArgumentException: no ':' in URL
Hi, I just dont know why when my MIDlet try to invoke my servlet program through web server. It gives java.lang.IllegalArgumentException: no ':' in URL. I really don't know why. Can anybody help? Pls. When user's press button to trigger this part: An