12-20-2011
You can, but it will be slower ...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everyone,
I need to write a script to calculate the space for sub-folders under /home:
Here is the scanrio:
cd /home
drwxr-xr-x 57 root root 8192 Jan 22 16:13 home_1
drwxrwxrwx 69 root root 8192 Jan 29 10:36 home_2
drwxr-xr-x 97 root root 8192 Nov... (8 Replies)
Discussion started by: za_7565
8 Replies
2. AIX
I am looking to delete files that are of a certain age with something like the following...
find /directory -type f -mtime +14 | xargs rm
....however, I would like to only execute this on the current directory and not subdirectories.
Any ideas? (4 Replies)
Discussion started by: andrewsc
4 Replies
3. Shell Programming and Scripting
OK I am trying to use something similar to this:
#!/bin/sh
echo "OK, starting now..."
sftp -b /dev/fd/0 user@remotehost <<EOF
cd pub
ascii
put filename.txt
bye
EOF
only difference is the dir I need to cd to has a space in it like this
/Import/Server/Prospect File
,... (3 Replies)
Discussion started by: NewSolarisAdmin
3 Replies
4. Shell Programming and Scripting
Greetings!
I have multiple files, one per subdirectory, all with the same file name. All subdirectories are one level deep from the main directory.
The data in the files is tab delimited between fields and record delimited with a newline.
The subdirectory names have the date in the... (5 Replies)
Discussion started by: vtischuk@yahoo.
5 Replies
5. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
6. Shell Programming and Scripting
Hi,
I have one dir which has N subdirs.For ex:
/home/user/Project_Src
/home/user/Project_Src/Dir_A
/home/user/Project_Src/Dir_A/subdir/sub_dir2
/home/user/Project_Src/Dir_A/subdir/sub_dir3
/home/user/Project_Src/Dir_B
/home/user/Project_Src/Dir_B/Build
i want to create a folder with... (2 Replies)
Discussion started by: dragon.1431
2 Replies
7. Shell Programming and Scripting
Hello Comunity
I am trying to make a bash shell script that it copies files and subdirs(with files) to a new dir. I would like the dest_dir to contain only subdirectories with files not other subdirs inside.
it called : cpflatdir src_dir dest_dir
Pleaze help me!
Thank you in... (2 Replies)
Discussion started by: BTKBaaMMM
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I would like to list all files, older than 7 days, in a directory, but exclude all subdirectories in the find command. If I use find . -type f -mtime +7 all files in the subdirs are also included. How can I exclude them?
Regards,
JW (6 Replies)
Discussion started by: jwbijl
6 Replies
9. UNIX for Dummies Questions & Answers
I have a script that I am trying to use. I need it to run from a certain directory. I have tried the following:
SCRIPT_DIR=$PWD
MYDIR="/filemount/files/Move Files"
cd "$MYDIR"
$SCRIPT_DIR/movefiles.bash
I have tried to run it. but I always get "no such file or directory" from the script... (5 Replies)
Discussion started by: newbie2010
5 Replies
10. Solaris
Hi
I am trying to run a script in a sub-directory, that has one space on it: such as:
/internaldisk1/Task Logs1, but my entry in cron is not working:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /internaldisk1/Task\ logs1/./remov_reject.sh > /var/tmp/interd_`date '+%Y%M%d'`.log 2>&1 Please can... (4 Replies)
Discussion started by: fretagi
4 Replies
LEARN ABOUT DEBIAN
eep24c
EEP24C(1) General Commands Manual EEP24C(1)
NAME
eep24c - read and write 24Cxxx eeprom devices
SYNOPSIS
eep24c -d device [ -r[n] filename | -w[n] filename | -k[n] filename | -f[n] xx ]
DESCRIPTION
The command eep24c can be used to read and write 24Cxxx eeprom devices.
OPTIONS
The following options are available:
-d device
Specify the device type. To see a list of the supported devices, try -d help
-r filename
Read from eeprom and save to a file.
-w filename
Read from a file and write to eeprom. The addresses not specified in the input file will be filled with 00.
-k filename
Read from a file and write to eeprom. The addresses not specified in the input file will be kept with its previous values. (this
mode is twice slower. It reads whole memory to know previous values, then write whole memory)
-f XX Fills the whole eeprom with XX (XX is an hexadecimal value)
n Can be used to multiply clock time. If you have a long cable, you may use this option. Example: -r5 will read eeprom 5 times slower
(pulse width will be standard value multiplied by 5). Valid range for n is from 1 to 50. Default value is 1.
USAGE EXAMPLES
eep24c -d 24c04 -r file.hex
read eeprom, write to file.hex
eep24c -d 24c04 -r3 file.hex
read eeprom, write to file.hex, 3 times slower.
eep24c -d 24c04 -w file.hex
read file.hex and write to eeprom. All the bytes not found in file.hex will be written as 00.
eep24c -d 24c04 -k file.hex
read file.hex and write to eeprom. All the bytes not found in file.hex will remain unchanged.
eep24c -d 24c04 -f 7A
fill eeprom with 7A (hexadecimal).
INPUT AND OUTPUT FORMAT
Input and output file format is Intel Hexadecimal Object File Format
You can find this specification at
ftp://download.intel.com/support/processors/
i960/devtools/INTELHEX.PDF
Record types 00 and 01 are implemented in this version. In input lines, LF and CR+LF are accepted as newline markers. Output files are
generated with LF as a newline marker.
DEVICE SPECIFIC
If you are using Microchip 24*515, you must tie its pin A2 to VCC (needs a hardware modification, see device datasheet).
SEE ALSO
ihex2txt(1), txt2ihex(1).
AUTHOR
This manual page was written by Pedro Zorzenon Neto <pzn@vztech.com.br>.
2002-11-14 EEP24C(1)