9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I can't seen to figure this out. Let's say I want to create a folder with the name "August2017". In regular terminal prompt I can type
mkdir `date +%B%Y`
But when I'm connected to a SMB share (at the smb: prompt), the command doesn't translate properly. A folder gets created but the name is... (4 Replies)
Discussion started by: sdch1000
4 Replies
2. UNIX for Advanced & Expert Users
Hi Team,
I am not able to get file name from shared drive when filename have spaces in it.
following command i am using.
filename="REP00105 - ABC XYZ (SCM)_ 1.TXT"
/hfx/opt/samba220/bin/smbclient \\\\${nt_host}\\${nt_share} ${NT_PASSWORD} -U${NT_USERNAME} -c "cd ${nt_directory}; prompt;... (1 Reply)
Discussion started by: Makarand Dodmis
1 Replies
3. Windows & DOS: Issues & Discussions
I'm looking to do pretty much what the title says.
I want a script that runs, it can run on Unix or Windows, doesn't matter, and searches a Samba shares for a .txt file.
If the file exists, the script will move (or possibly copy) the file from the Samba share into a directory on our Unix... (3 Replies)
Discussion started by: twcostello
3 Replies
4. Shell Programming and Scripting
Input data:
read1_data1
read1_data1
read2_data1
read3_data1
read4_data1
read4_data1
read4_data1
read5_data1
.
.
Desired output result:
read1_data1
read1_data2
read2_data1
read3_data1
read4_data1 (3 Replies)
Discussion started by: perl_beginner
3 Replies
5. Programming
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
#include <string.h>
#define BUFF_SIZE 256
#define CHILDS 4
#define DATAFILE "Client_Files.txt"
void worker(int n);... (3 Replies)
Discussion started by: dlcpereira
3 Replies
6. UNIX for Dummies Questions & Answers
I want to poll a particular file on a Windows shared drive using shell script and copy it to a Unix directory if present.
Step wise execution:
1) Poll/watch for a file in the following location on Windows share:
(SRC_DIR=\\mum\dharmesh\research\ST_DXR_20080821 to DXR.xls)
2) If present,... (1 Reply)
Discussion started by: dharam_v
1 Replies
7. Shell Programming and Scripting
Watch for File on Windows share using Shell Script
I want to poll a particular file on a Windows shared drive using shell script and copy it to a Unix directory if present.
Step wise execution:
1) Poll/watch for a file in the following location on Windows share:... (1 Reply)
Discussion started by: dharam_v
1 Replies
8. Linux
hello everybody
i have one quetion :( about how i can share my file in windows to use it in linux
explane
i have to opreating system
windows xp and linux fedore core and unix ( sun solaris 10 )
and i want to open me file that is storege in windows <<< want to open it in unix or... (4 Replies)
Discussion started by: msn22
4 Replies
9. UNIX for Dummies Questions & Answers
Hi ,
I am new to the unix .
And right now I have a unix machine "test" . I want to share a folder in the /opt/example .AND I hope when I use a windows machine to access the unix machine ,ep:start->cmd->\\test,I can see the shared folder "example",
what shall I do
thanks :) (2 Replies)
Discussion started by: floopw
2 Replies