Search Results

Search: Posts Made By: Movomito
18,519
Posted By Movomito
echo into columns
hello there,
Thank you for any help you may offer.
I have the fallowing command

echo `ls -1 /Volumes/ximage2/$line/images/ | wc -l` $line

which give me the number of sub directories followed...
2,264
Posted By Movomito
max os x .plist not running as scheduled?
Hello all,

I am admittedly a newbie and have created a plist designed to fire off a shell script everyday at 3:00pm. It is located in /Library/LaunchDaemons/. I use it to mirror a hard local...
1,782
Posted By Movomito
brainstorming automated response
I am managing a database of files for which there is a drop-box and multiple users. what i would like to do is set a criteria for files coming into the drop-box based on file structure. (they must...
10,838
Posted By Movomito
sudo chmod not working
now running mac os x 10.53 and sudo chmod comes back with : operation not permitted.

sample file:

-rwxr-xr-x+ 1 1000 com.apple.monitor_all_services 276592 Jun 8 2007 342345.tif


i am...
1,544
Posted By Movomito
I am trying something very similar but want to...
I am trying something very similar but want to take the input from another text file, looping through it line by line. and then have some thing like

if [ $? -eq "0" ]
then
echo $line
else...
2,279
Posted By Movomito
sorry... perhaps i was unclear. I want to...
sorry... perhaps i was unclear.

I want to backup one directory to another on the same drive. I don't want to use mount at all. The script that i am adapting uses mount in the section that i made...
2,279
Posted By Movomito
Can is set permissions temporarily?
I want to do just what the title says. Here's why:

I am adapting a script that backups to a mount. In the script it has a catch where if the drive isn't RW then it unmounts and attempts to...
5,263
Posted By Movomito
First off I am home taught so it may be that...
First off I am home taught so it may be that there is something that i am missing here. If i don't first run an exec how can i "read line" from workslist? But i did see what it was attempting and...
5,263
Posted By Movomito
du from list with du of list total
Hi there

i am relatively new to shell scripting and am stuck. I wrote (and borrowed parts of) a script that will read input from a text file and echo the file name and then give me the du of that...
5,690
Posted By Movomito
Bash rsync but move not delete
There might be an easy solution to my problem, or maybe not, but here it is.

I am trying to rsync a Volume with 1.5 terabytes of data and send it via fibre channel to a raid array. Now normally...
1,433
Posted By Movomito
Help with script
I have created the following script.

#!/bin/bash
#works list is any list that you give it, but it was designed to be used with the entire image volume list.
#for this script to have the most...
2,323
Posted By Movomito
I have done it! Thankyou era and Jim Mcnamara. ...
I have done it! Thankyou era and Jim Mcnamara. Your help is appreciated. :)
2,323
Posted By Movomito
is there anyway to do this in bash. simply using...
is there anyway to do this in bash. simply using it as is doesn't seem to work and i need to apend it to the end of an already working script.

Thanks
13,185
Posted By Movomito
got it! thanks for all the help:)
got it!

thanks for all the help:)
2,323
Posted By Movomito
Find /Dir
Here is the problem i now have.

i have a list of directories like this

W9888
W9848
W9752
W9748
W9683
W9680
W9674
W9558
W9366

i need to scan through those directories and bring back a...
13,185
Posted By Movomito
that doesn't seem to work. All i get is a blank...
that doesn't seem to work. All i get is a blank file thanks though, if you have other suggestions i can test them pretty quickly
13,185
Posted By Movomito
remove lines in text starting with . (period)
how can i remove lines from a text file starting with . (a period)
1,503
Posted By Movomito
the -maxdepth took care of cleaning up my output....
the -maxdepth took care of cleaning up my output.

However, now i have noticed that the \! -name "e*" doesn't seem to be working.

While it is not outputting directories that start with e it...
1,503
Posted By Movomito
find /Volumes/image/ -type d \! \( -name...
find /Volumes/image/ -type d \! \( -name "image*" -empty \) \! -name "e*"

this works great. Thank you. However, my output is a list of all of the directories and sub directories. Ideally...
1,503
Posted By Movomito
Find help
i am trying to write ideally a one liner that will find all of the folders inside of a volume that don't contain a subfolder starting with the letter e and at the same time do contain a subfolder...
3,454
Posted By Movomito
LS with du divided by ls wc-l sub directory average
Hi.

I am trying to write a script that will create a list of directories with their total disk usage (including subdirectories) divided by the number of sub directories.

so i run an ls like...
6,444
Posted By Movomito
Comm LC_ALL=C still not working
i have now tried LC_ALL=C sort text1.txt > text1new.txt
fallowed by LC_ALL=C sort text2.txt > text2new.txt
and the LC_ALL=C comm -13 text1new.txt text2new.txt
(i have tried...
6,444
Posted By Movomito
comm -23 file1 file2 still not working
so i tried using the comm -23 file1 fil2 per the last suggestion and still am not getting the desired result. Using bbedit i can look and do a line count and there is a difference of appx 800 files...
6,444
Posted By Movomito
I looked at comm
i looked at comm and I can't seem to get my desired output.
here is what i am trying maybe someone can help.

first i run sort text1.txt > newtext1.txt

then the same with text2.txt

then i...
6,444
Posted By Movomito
Bash uniq/ diff/ and other I cant figure it out
First off thank you for any help.
Here is the problem. I have two text files that fit the same format. The first I created using an ls -d command and then with the help of the forums ran awk...
Showing results 1 to 25 of 27

 
All times are GMT -4. The time now is 12:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy