10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi all ,
My server using backup software and backup software corrupted , unable to restore it perfectly.
so i'm need a way to 1 time unzip all file, due to now all my backup file are in zip type.
will be sometime like this :
M:\path\folder.zip
M:\path\folder\subfolder... (5 Replies)
Discussion started by: kttan
5 Replies
2. Shell Programming and Scripting
I receive multiple zipped directories with files in them, so the .zip name is the name of the directory containing the files.
so i have used a simple loop to unzip all of them but when unzipped i have folders/directories, i wanted to strip these directories and remain with the actual files from... (1 Reply)
Discussion started by: buggzdiq
1 Replies
3. Shell Programming and Scripting
so i have a file system:
/data/projects
in this file system, there's about 300 files. on all files in this directory, i'm running:
egrep -r 'Customer.*Processed' /data/projects/*
is there an efficient (fast) awk way of searching through each file in the directory and providing an... (9 Replies)
Discussion started by: SkySmart
9 Replies
4. Shell Programming and Scripting
Hello,
I would like to rename all available files in a directory from Filename to Filename_Normal.
I tried to use below script but it is giving some error:
#!/bin/sh
for i in `ls`
do
echo Changing $i
mv $i $i_Normal
done
Error received:
Usage: mv src target
or: mv ... (10 Replies)
Discussion started by: manishdivs
10 Replies
5. Shell Programming and Scripting
Hello Everyone,
How do we run vi/vim encrypted shell script without decryption on multiple servers. It is a simple bash script and vim -nx <filename> has been used to encrypt with desired password. Now I have few errors, the syntax is absolutely fine as I have run that script multiple times on... (0 Replies)
Discussion started by: lovesaikrishna
0 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Is it possible to have multiple files with the same name in a same unix directory?
Eg., in the path \tmp, can we have 2 files with the same name as SALES_data_20120124.TXT?
I heard it is possible if the user id that is created the files are different and with some ids, a new gets... (1 Reply)
Discussion started by: Vijay81
1 Replies
7. UNIX for Dummies Questions & Answers
Hey Guys,
I have directory with thousands of files, I need to copy only march data.
can any one please Help..........
Thanks,
Uttam N (4 Replies)
Discussion started by: Uttamnsd
4 Replies
8. UNIX for Advanced & Expert Users
I want to unzip two files into one directory called database. how can i do that ?
I used:
unzip filename_1.zip -d database
and
unzip filename_2.zip -d database
It is creating a database folder and inside it 2 folders filename_1 and filename_2. i want it to create the contents... (1 Reply)
Discussion started by: beayni33
1 Replies
9. Shell Programming and Scripting
Hi,
I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server.
How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies
10. Shell Programming and Scripting
Hi everyone!!
I have a database table, which has file_name as one of its fields.
Example:
File_ID File_Name Directory Size
0001 UNO_1232 /apps/opt 234
0002 UNO_1234 /apps/opt 788
0003 UNO_1235 /apps/opt 897
0004 UNO_1236 /apps/opt 568
I have to... (3 Replies)
Discussion started by: ss3944
3 Replies