Tag Info

New answers tagged

1

If f1 is a subset of f2 then f1 - f2 is an empty set. Building on that we can write an is_subset function and a function derived from it. As per Set difference between 2 text files sort_files () { f1_sorted="$1.sorted" f2_sorted="$2.sorted" if [ ! -f $f1_sorted ]; then cat $1 | sort | uniq > $f1_sorted fi if [ ! -f $f2_sorted ]; then ...


4

In the general case, this could be difficult to do. But you are looking at a video. The simplest solution here would be that they placed it into a tag. The first thing I'd do is examine the tags. If you have it, run mediainfo on the file. Do you see your username in the output? If so, it's just in a tag. You could grab a tag editor and manipulate the ...


1

You can try Krusader (http://www.krusader.org/) Cheers.


2

Give a shot on meld, it should cover all your needs.


0

You would normally do a diff -r to compare the files in both directories, but that will give you an error as the filenames don't match. What you can do is change to the "new" directory and do: for i in *; do diff "$i" /path/to/other/dir/"$i"; done or, change to the restored backup dir and do: for i in *.archive; do diff "$i" ...


0

Replace find test/ by find test/.; this is equivalent and should give the same output. Alternatively, instead of using find test/, use find -H test. The option -H tells find to follow symbolic links on the command line, which is what test/ does if test is a symbolic link to a directory. The only difference is that if test is a dangling symlink, find test/ ...


2

diffuse can handle the 5 inputs (sudo apt-get install diffuse). From the man page: Diffuse is a graphical tool for merging and comparing text files. Diffuse is able to compare an arbitrary number of files side-by-side and gives users the ability to manually adjust line matching and directly edit files.


2

If you change the diff format to unified with -u the filenames will appear. Another solution might be to run a checksum program, e.g. md5sum, sha1sum, etc. on all files and see which one has a different checksum than the first one.



Top 50 recent answers are included