This file is indexed.

/usr/share/doc/python-pymtp/examples/sendfile.py is in python-pymtp 0.0.6-1.1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env python
#
# PyMTP demo scripts
# (c) 2008 Nick Devito
# Released under the GPL v3 or later.
#

import sys
sys.path.insert(0, "../")

import pymtp
import pyid3lib

def usage():
	print "Usage: %s <source> <target>" % (sys.argv[0])

def main():
	if len(sys.argv) <= 3:
		usage()
		sys.exit(2)
		
	mtp = pymtp.MTP()
	mtp.connect()

	source = sys.argv[1]
	target = sys.argv[2]

	file_id = mtp.send_file_from_file(source, target)
	print "Created new track with ID: %s" % (file_id)
	mtp.disconnect()
		
if __name__ == "__main__":
	main()