10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am trying to use below syntax to find ignore multiple locations while searching for a file.
find / -name "$serviceitem" ! -size 0 2>&1 |egrep -v "tmp|docker|WinSxS|Permission|HISTORY|alternatives|bearer11ssl|manifest"
I tried to assign all the ignore strings to one variable... (2 Replies)
Discussion started by: sravani25
2. Shell Programming and Scripting
I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder.
parent folder --> /Interface/data/test/IN
Sub folder -->/Interface/data/test/IN/Invoice20180607233338
Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
3. Shell Programming and Scripting
I am trying to copy files with specific date and name to another folder. I am very new to shell scripting so i am finding it hard to do that. see the sample code i have written below.
srcdir="/media/ubuntu/CA52057F5205720D/Users/st4r8_000/Desktop/office work/26 nov"... (13 Replies)
Discussion started by: Aqeel Abbas
4. Shell Programming and Scripting
I have 3 folders on FTP server in the format yyyymmddhhmiss as below,ftp> cd /home/walgreens
250 CWD command successful
200 PORT command successful
150 Opening ASCII mode data connection for file list
20150708102901The above folders are in... (1 Reply)
Discussion started by: pavan_test
5. Shell Programming and Scripting
I have a shell script, which reads a *.txt file - line by line. In this text file, I have some lines beginning with "#" that I want to ignore :
#blah blah blah 1
blah blah blah 2
blah blah blah 3
#blah blah blah 4
I want my script to read only the following lines... (3 Replies)
Discussion started by: ad23
6. UNIX for Dummies Questions & Answers
can any one help me in shell scripting
where in my requirement is to
write a shell script where in if i run that script i should copy all the .doc files from one system to another systems within a network like from parent folders to child folder
parent folder A within parent folder... (5 Replies)
Discussion started by: afra
7. Shell Programming and Scripting
I have a following file:
#Description: Allow users to login in to Impact, start and stop service... (5 Replies)
Discussion started by: dbashyam
8. UNIX for Dummies Questions & Answers
I have situation that I had originally thought would be easily remedied until I learned more about how -mtime actually works.
We have one server that collects backups from a number of other servers. The backup server is limited in space (for reasons that predate my employment). The standard... (4 Replies)
Discussion started by: greendevil
9. Shell Programming and Scripting
I need a shell script which basicaly moves all the files from one folder say folder x to folder y and once they are moved to folder y a datetimestamp should be attached to there name
file a should be moved to y folder and renamed as a_20081015 (1 Reply)
Discussion started by: viv1
10. Shell Programming and Scripting
I am getting error while passing a folder name that has space to the cmd line argument.
sh log_delete2.sh "/home/kumarpua/TESTARTIFACTS/atf-chix/ATF-subversion-dev/ssenglogs/A RM"
log_delete2.sh: line 17: cd: /home/kumarpua/TESTARTIFACTS/atf-chix/ATF-subversion-dev/ssenglogs/A:... (3 Replies)
Discussion started by: pulkit