Traverse directories, compare the tree, delete files missing on one side only

Trying to figure out how to group together various find, sed, grep commands all together to remove any .mp3’s in the /out/ folder that do not have matching .flac’s in the /in/ folder. #!/bin/bash find /in>/tmp/in.txt sed ‘s/.flac/.mp3/g; s+/in+/out+g’ /tmp/in.txt>/tmp/inx.txt find /out>/tmp/out.txt grep -vxF -f /tmp/inx.txt /tmp/out.txt>/tmp/clean.txt while read line; do rm “$line”; done <…

Details

ParserError: Expected identifier, got ‘LParen’ in Remix simple auction using Solidity

pragma solidity ^0.4.22; The line highlighted in the error is require(bid2 > highestBid2); The code: pragma solidity ^0.4.22; contract SimpleAuction { address public beneficiary; uint public auctionEnd; address public highestBidder1; uint public highestBid1; address public highestBidder2; uint public highestBid2; uint public proportion; uint public bid1; uint public bid2; mapping(address => uint) pendingReturns; bool ended; constructor…

Details

Debugger in geany

I have problem with instaling debugger in geany This is my problem: > arwena@arwena-VirtualBox:~/geany-plugins/debugger$ make Making all in > src make[1]: Entering directory > ‘/home/arwena/geany-plugins/debugger/src’ CC > debugger_la-bptree.lo CC debugger_la-breakpoint.lo CC > debugger_la-breakpoints.lo CC debugger_la-btnpanel.lo CC > debugger_la-callbacks.lo CC debugger_la-calltip.lo CC > debugger_la-dbm_gdb.lo CC debugger_la-dconfig.lo CC > debugger_la-debug.lo debug.c:53:10: fatal error: vte/vte.h: No such >…

Details

Glib: meson.build:1919:2: ERROR: Dependency “mount” not found, tried pkgconfig and cmake

I am new to Ubuntu. Trying to install glib but error is coming every time. I tried every suggestion available online but still not able to figure out where I am wrong. I already have latest version of libmount-dev. Please help. mgrl@mgrl-System-Product-Name:~/glib-2.63.3$ meson _build The Meson build system Version: 0.52.1 Source dir: /home/mgrl/glib-2.63.3 Build dir:…

Details