Total beginner to Zenity.
I've plagiarised bits of code from all over to try to get something to work.
The story:
I have a directory with maybe 10-15 files in it, each about 200MB.
i send these files one at a time to a drive about 15 miles away. The Synology sync can only handle one file at a time, as because there is no high speed line, the file takes about an hour to send. More than 1 file at a time, and Synology can't handle it.
I send at night using the script below.
I have not put things in the right place, as when the last file is gone, it counts another delay until it completes.
I would dearly love the progress bar to count up as the delay completes, but have not got a clue. Sitting looking at a Cylon for 45 minutes ain't doing me any good.
Moderator's Comments:
Please use CODE (not ICODE) tags as required by forum rules!
Last edited by RudiC; 03-10-2018 at 01:31 PM..
Reason: Changed ICODE tags.
I want to change the name of several files within a folders (directory) and subdirectories in OS X. If I only wanted to change file names within the directory I guess I would use:
rm photo*.jpg picture*.jpg
I have lots of subdirectories, is there a way of getting the file changes for all... (5 Replies)
unix : sun
shell : bash
i need to select multiple rows with this format :
<special format>
10 lines
/<special format>
from log file that have lots of info
i thought of getting the number of the first line using
grep -n "special format" file | cut -d: -f1
then pass it to shell... (2 Replies)
I have a bunch of database files in a directory. Their name are like:
1234_ABCD_01.dbf, 28hrs_ABCD_02.dbf
I want to change them in bulk to:
1234_XXXU_01.dbf, 28hrs_XXXU_02.dbf.
I mean I just want to replace ABCD by XXXU. don't change other part of the file name and the contents of the... (4 Replies)
I have a text file which contains lines in this format - it contains 105 lines in total, but I'm just putting 4 here to keep it short:
58571,east_ppl_ppla_por
58788,east_pcy_hd_por
58704,east_pcy_ga_por
58697,east_pcy_pcybs_por
It's called id_key.txt
I have a sample folder called... (9 Replies)
Hello,
I have a script with zenity file, but I want to know the file name and path, but this way I just take the name of the file.
fl1=`zenity --file-selection --title="Seleccionar fichero"`
basename $fl1 .txt > temp
nom=`cat temp`
Thank you very much (1 Reply)
Hi all,
I have a requirement to create a Header &Trailer for a file which is having 20 millions of records.
If I use the following method, i think it will take more time.
cat "Header"> file1.txt
cat Data_File>>file1.txt
cat "Trailer">>file1.txt
since second CAT command has to read all... (4 Replies)
Hello,
I am trying to rename bulk files however i dont think the rename/mv command is giong to help me here. here is a quick snapshot of the files I need to rename:
75008040 -rw-r----- 1 root root 8716 May 8 05:00 10.9.144.2
75008041 -rw-r----- 1 root root 11700 May 8 05:00 10.9.160.2... (10 Replies)
Hello
Can someone guide me how to extract bulk emails into a single flat file ?
We receive mails (approx 1K daily ).
I want the contents of the emails for 'current date' to be dumped into one single text file.
Please help. (1 Reply)
Please Help me
I have a Bulk file containing Hex data
I want to read specific lines from that bulk file by ID number.
example
ID DATE Time data
14 2005/09/28 07:40:08.546 0 5 078B1C 01916C 0FE59C 004B54 0A9670 0D04ED 05B6B4 0E2223... (10 Replies)