I was trying to combine content( jpg files: IMG_6837.jpg IMG_6838.jpg IMG_6839.jpg IMG_6840.jpg) of following folders into one "July.2015", I tried many ways from former question posters (In terminal, merging multiple folders into one) but still does not work.
Hope you guys can help me out.
Thanks so much!
July 1, 2015
July 17, 2015
July 19, 2015
Manchester - Robertson - Tolland Tpke, July 18, 2015
Mansfield - Connecticut, August 1, 2015
Mansfield - Connecticut, July 11, 2015
Mansfield, CT - Knollwood, July 15, 2015
Newport - Rhode Island, July 4, 2015
University of Connecticut - Mansfield, CT, August 4, 2015
University of Connecticut - Mansfield, CT, July 10, 2015
University of Connecticut - Mansfield, CT, July 13, 2015
Willimantic - Connecticut, July 23, 2015
Assuming all those folders are under a folder called UNMERGED, then do this:
$ for f in /UNMERGED/* ; do rsync -a ./$f/ ./MERGED/ ; done
Related
I'm getting the following error on restoring backup using MS SQL 2017 Express:
Msg 3287, Level 16, State 1, Line 11
The file ID 2 on device 'C:\Backups\Test180529.bak' is incorrectly formed and can not be read.
Msg 3013, Level 16, State 1, Line 11
RESTORE DATABASE is terminating abnormally.
The test backup was made and was verified on the same MS SQL 2017 Express server instance:
BACKUP DATABASE [Test] TO DISK = N'C:\Backups\Test180529.bak' WITH NOFORMAT, INIT, NAME = N'Test-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, NO_COMPRESSION, STATS = 50, CHECKSUM
GO
declare #backupSetId as int
select #backupSetId = position from msdb..backupset where
database_name=N'Test' and backup_set_id=(select max(backup_set_id) from msdb..backupset where database_name=N'Test' )
if #backupSetId is null begin raiserror(N'Verify failed. Backup information for database ''Test'' not found.', 16, 1) end
RESTORE VERIFYONLY FROM DISK = N'C:\Backups\Test180529.bak' WITH FILE = #backupSetId, NOUNLOAD, NOREWIND
GO
Here are the backup process messages:
52 percent processed.
Processed 304 pages for database 'Test', file 'Test' on file 1.
100 percent processed.
Processed 2 pages for database 'Test', file 'Test_log' on file 1.
BACKUP DATABASE successfully processed 306 pages in 0.115 seconds (20.788 MB/sec).
The backup set on file 1 is valid.
I have used this MS SQL Server 2017 Express instance to successfully restore backups made on other MS SQL Server instances running on other systems.
The problematic MS SQL Server 2017 instance is running on a Windows Server R2 Standard VPS.
Update
select ##version
Microsoft SQL Server 2017 (RTM) - 14.0.1000.169 (X64) Aug 22 2017 17:04:49 Copyright (C) 2017 Microsoft Corporation Express Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 <X64> (Build 9600: ) (Hypervisor)
I have fixed my MS SQL 2017 Express setup's backup/restore subject issue by using the "SQL Server® 2017 for Microsoft® Windows Latest Cumulative Update" (https://www.microsoft.com/en-us/download/details.aspx?id=56128).
The version of my MS SQL Server 2017 Express setup now is:
Microsoft SQL Server 2017 (RTM-CU7) (KB4229789) - 14.0.3026.27 (X64) May 10 2018 12:38:11 Copyright (C) 2017 Microsoft Corporation Express Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 (Build 9600: ) (Hypervisor)
I'm getting duplicate message definition errors in POEdit and I cannot update from that catalog.
POEdit doesn't show details and the line numbers in the errors don't match.
How can I find what is wrong?
Sat Mar 11 16:51:31 2017: /var/folders/qt/cg8qlhc159v9s15kmhy1h4440000gn/T/poeditgGtdFw/1input.po:2791: duplicate message definition...
Sat Mar 11 16:51:31 2017: /var/folders/qt/cg8qlhc159v9s15kmhy1h4440000gn/T/poeditgGtdFw/1input.po:65: ...this is the location of the first definition
Sat Mar 11 16:51:31 2017: /var/folders/qt/cg8qlhc159v9s15kmhy1h4440000gn/T/poeditgGtdFw/1input.po:2827: duplicate message definition...
Sat Mar 11 16:51:31 2017: /var/folders/qt/cg8qlhc159v9s15kmhy1h4440000gn/T/poeditgGtdFw/1input.po:1530: ...this is the location of the first definition
Sat Mar 11 16:51:31 2017: /Users/burakkilic/Applications/Poedit.app/Contents/PlugIns/GettextTools.bundle/Contents/MacOS/bin/msgmerge: found 2 fatal errors
Sat Mar 11 16:51:31 2017: Entries in the catalogue are probably incorrect.
Sat Mar 11 16:51:31 2017: Updating the catalogue failed. Click on 'Details >>' for details.
How can I find what is wrong?
msgfmt -v -c /path/to/1input.po
My Ruta script runs fine in UIMA project. But the annotation occurrences get reduced when the same scripts are included in a Maven project.
LSQParen ANY+?{-PARTOF(RSQParen)} W{REGEXP("cited",true)} ANY+? RSQParen{->MARK(DZC_CITED,1,5)};
LSQParen W{REGEXP("cited",true)} ANY+? RSQParen{-PARTOF(DZC_CITED)->MARK(DZC_CITED,1,4)};
In Ruta script, the no. of occurrences of DZC_CITED is 34, but in Maven it is 27.
Ex:
Input:
1.Animal Welfare Information Center [Internet]. Beltsville (MD): National
Agricultural Library (US); [updated 2001 Mar 1; cited 2001 Mar 2]. Available from:
http://www.nal.usda.gov/awic/.
2.Nursing World [Internet]. Version 3.2. Washington: American Nurses Association;
c1995-2001 [cited 2001 Mar 12]. Available from: http://www.ana.org.
3.HCMS ON LINE [Internet]. Houston (TX): Harris County Medical Society;
c2000 [updated 2001 Apr 25; cited 2001 May 1]. Available from: http://www.hcms.org.
Uncovered text:
[updated 2001 Mar 1; cited 2001 Mar 2]
[updated 2001 Apr 25; cited 2001 May 1]
Covered text:
[cited 2001 Mar 12]
The question was already answered in the comments.
If the same rules create different amount of annotations in a Ruta Workbench project and in a maven built porject, then most likely the version of the maven dependency to ruta-core and the version of the plugins/feature of the Ruta Workbench do not match. Different versions may result in different annotations since bugs have been fixed in later versions.
DISCLAIMER: I am a developer of UIMA Ruta
I am trying to get SQLDeveloper to work on my Mac laptop. I need to make a TNS connection but whenever I try to create one I get the error message: no ocijdbc12 in java.library.path.
I have latest instantclient installed and I only see these files:
instantclient_11_2:
total 380640
-rw-rw-rw-# 1 red staff 484 Apr 10 2014 BASIC_README
-rwxrwxrwx# 1 red staff 14348 Apr 10 2014 adrci
-rwxrwxrwx# 1 red staff 40768 Apr 10 2014 genezi
-r-xr-xr-x# 1 red staff 66167420 Feb 7 2014 libclntsh.dylib.11.1
-r-xr-xr-x# 1 red staff 2817872 Jan 29 2014 libnnz11.dylib
-r-xr-xr-x# 1 red staff 1897664 Feb 7 2014 libocci.dylib.11.1
-rwxrwxrwx# 1 red staff 118707148 Apr 10 2014 libociei.dylib
-r-xr-xr-x# 1 red staff 159004 Jan 7 2014 libocijdbc11.dylib
-r--r--r--# 1 red staff 2091135 Jan 28 2014 ojdbc5.jar
-r--r--r--# 1 red staff 2739616 Jan 28 2014 ojdbc6.jar
-rwxrwxrwx# 1 red staff 162380 Apr 10 2014 uidrvci
-r--r--r--# 1 red staff 66779 Jan 7 2014 xstreams.jar
There's a libocijdbc11.dylib but no libocijdbc12.dylib. What's up with that?
After a recent JAVA upgrade, my SqlDeveloper install stopped working, errors related to :
The native OCI driver could not be loaded. The system property java.library.path contains the entries from the environment variable 'DYLD_LIBRARY_PATH' check it to verify that the expected native library directory /usr/lib/java is present and precedes any other client installations.
I upgraded to SqlDeveloper 18.1.0 = no luck.
I tried many fixes - modifying '/.sqldeveloper/18.1.0/product.conf', futzing with $PATH, etc - they all failed
FINALLY - I upgraded the instant client to instantclient_12_2 IT WORKED!
Note - the place you set environment vars is now: ${HOME}/.sqldeveloper//env.sh
in my case, /Users/REDACTED/.sqldeveloper/18.1.0/env.sh contains:
export TNS_ADMIN="${HOME}/Downloads/instantclient_12_2"
export DYLD_LIBRARY_PATH=$TNS_ADMIN
export LD_LIBRARY_PATH=$TNS_ADMIN
export SQLPATH=$TNS_ADMIN
if ! echo $PATH | fgrep "${DYLD_LIBRARY_PATH}" /dev/null ; then
export PATH="${DYLD_LIBRARY_PATH}:${PATH}"
fi
This (using env.sh) is better than cluttering up your .bashrc files
My Solution:
Just use the setting in SQLDeveloper:
Tools > Preferences > Database > Advanced > Tnsnames Directory
Click Browse to select the location of the parent folder of your tnsnames file.
I am not savvy at all when it comes to scripting. The script I have basically dumps the results of git log command into a file.
However, I would only like to show the lines for the day the script was run. So if I run myscript.sh on Thu Jun 20, I want to see all lines from a file down until Wed Jun 19.
Here is what the file looks like:
commit 8da0dd9bsd23899d11b4ee7348af0640b98ed4b17
Author: Denis <Denis#WWOscar.Waudware.local>
Date: Thu Jun 20 12:08:59 2013 -0400
Testing Git push 13 6
Multiple lines
commit aca564549f91329fcfa9a9f908f7fdeffa83f139b
Author: Denis <Denis#WWOscar.Waudware.local>
Date: Thu Jun 20 12:01:48 2013 -0400
Testing Git push 13 5
commit b80c51b32f48364c2108588aff4c9e12fbb78370b
Author: Denis <Denis#WWOscar.Waudware.local>
Date: Thu Jun 20 11:59:57 2013 -0400
Testing Git push 13 4
commit c4f8f8d4196f7c0f2deaf8g0ecc61797e7b8afdd9
Author: Denis <Denis#WWOscar.Waudware.local>
Date: Wed Jun 19 11:48:37 2013 -0400
Testing Git push 13 3
commit 9a296b2273528868e3e4dc19310fa802daf76b1f3
Author: Denis <Denis#WWOscar.Waudware.local>
Date: Wed Jun 19 11:45:49 2013 -0400
Testing Git push 13 2
commit 55cb8f2399242f051f577a042713a402137df4456
Author: Denis <Denis#WWOscar.Waudware.local>
Date: Sat Jun 15 11:40:48 2013 -0400
Testing Git push 13 1
commit a48e59ec1de227cc2878dce3330ge7776336eb289
Author: Denis <Denis#WWOscar.Waudware.local>
Date: Thu Jun 13 11:28:56 2013 -0400
Switched datasource to SuprPakJ
Created WWButton and WWLabel (extends JButton and JLabel)
Designed Sales Order screen
commit 57ce2da4673a35f50a5146d43a1f1a969c590c8c9
Author: Denis <Denis#WWOscar.Waudware.local>
Date: Tue Jun 11 08:20:58 2013 -0400
I tried searching, but best I got was the sed -e command to print out everything until the first blank line, which isn't exactly what I need.
Any help is appreciated!
How does this work for you:
git log --since=yesterday